mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
358 lines
13 KiB
C#
358 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ChangePropTimelineInfoCsReq.proto
|
|
// </auto-generated>
|
|
#pragma warning disable 1591, 0612, 3021, 8981
|
|
#region Designer generated code
|
|
|
|
using pb = global::Google.Protobuf;
|
|
using pbc = global::Google.Protobuf.Collections;
|
|
using pbr = global::Google.Protobuf.Reflection;
|
|
using scg = global::System.Collections.Generic;
|
|
namespace EggLink.DanhengServer.Proto {
|
|
|
|
/// <summary>Holder for reflection information generated from ChangePropTimelineInfoCsReq.proto</summary>
|
|
public static partial class ChangePropTimelineInfoCsReqReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ChangePropTimelineInfoCsReq.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ChangePropTimelineInfoCsReqReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CiFDaGFuZ2VQcm9wVGltZWxpbmVJbmZvQ3NSZXEucHJvdG8aFlByb3BUaW1l",
|
|
"bGluZUluZm8ucHJvdG8igwEKG0NoYW5nZVByb3BUaW1lbGluZUluZm9Dc1Jl",
|
|
"cRIUCgxpc19jbG9zZV9tYXAYCiABKAgSKAoNdGltZWxpbmVfaW5mbxgEIAEo",
|
|
"CzIRLlByb3BUaW1lbGluZUluZm8SDAoEdXVpZBgMIAEoBBIWCg5wcm9wX2Vu",
|
|
"dGl0eV9pZBgBIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv",
|
|
"YgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PropTimelineInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChangePropTimelineInfoCsReq), global::EggLink.DanhengServer.Proto.ChangePropTimelineInfoCsReq.Parser, new[]{ "IsCloseMap", "TimelineInfo", "Uuid", "PropEntityId" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ChangePropTimelineInfoCsReq : pb::IMessage<ChangePropTimelineInfoCsReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ChangePropTimelineInfoCsReq> _parser = new pb::MessageParser<ChangePropTimelineInfoCsReq>(() => new ChangePropTimelineInfoCsReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ChangePropTimelineInfoCsReq> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::EggLink.DanhengServer.Proto.ChangePropTimelineInfoCsReqReflection.Descriptor.MessageTypes[0]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChangePropTimelineInfoCsReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChangePropTimelineInfoCsReq(ChangePropTimelineInfoCsReq other) : this() {
|
|
isCloseMap_ = other.isCloseMap_;
|
|
timelineInfo_ = other.timelineInfo_ != null ? other.timelineInfo_.Clone() : null;
|
|
uuid_ = other.uuid_;
|
|
propEntityId_ = other.propEntityId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChangePropTimelineInfoCsReq Clone() {
|
|
return new ChangePropTimelineInfoCsReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "is_close_map" field.</summary>
|
|
public const int IsCloseMapFieldNumber = 10;
|
|
private bool isCloseMap_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsCloseMap {
|
|
get { return isCloseMap_; }
|
|
set {
|
|
isCloseMap_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "timeline_info" field.</summary>
|
|
public const int TimelineInfoFieldNumber = 4;
|
|
private global::EggLink.DanhengServer.Proto.PropTimelineInfo timelineInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PropTimelineInfo TimelineInfo {
|
|
get { return timelineInfo_; }
|
|
set {
|
|
timelineInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "uuid" field.</summary>
|
|
public const int UuidFieldNumber = 12;
|
|
private ulong uuid_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ulong Uuid {
|
|
get { return uuid_; }
|
|
set {
|
|
uuid_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "prop_entity_id" field.</summary>
|
|
public const int PropEntityIdFieldNumber = 1;
|
|
private uint propEntityId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint PropEntityId {
|
|
get { return propEntityId_; }
|
|
set {
|
|
propEntityId_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ChangePropTimelineInfoCsReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ChangePropTimelineInfoCsReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (IsCloseMap != other.IsCloseMap) return false;
|
|
if (!object.Equals(TimelineInfo, other.TimelineInfo)) return false;
|
|
if (Uuid != other.Uuid) return false;
|
|
if (PropEntityId != other.PropEntityId) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (IsCloseMap != false) hash ^= IsCloseMap.GetHashCode();
|
|
if (timelineInfo_ != null) hash ^= TimelineInfo.GetHashCode();
|
|
if (Uuid != 0UL) hash ^= Uuid.GetHashCode();
|
|
if (PropEntityId != 0) hash ^= PropEntityId.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
output.WriteRawMessage(this);
|
|
#else
|
|
if (PropEntityId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(PropEntityId);
|
|
}
|
|
if (timelineInfo_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(TimelineInfo);
|
|
}
|
|
if (IsCloseMap != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(IsCloseMap);
|
|
}
|
|
if (Uuid != 0UL) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt64(Uuid);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
if (PropEntityId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(PropEntityId);
|
|
}
|
|
if (timelineInfo_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(TimelineInfo);
|
|
}
|
|
if (IsCloseMap != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(IsCloseMap);
|
|
}
|
|
if (Uuid != 0UL) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt64(Uuid);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (IsCloseMap != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (timelineInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TimelineInfo);
|
|
}
|
|
if (Uuid != 0UL) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Uuid);
|
|
}
|
|
if (PropEntityId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PropEntityId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ChangePropTimelineInfoCsReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.IsCloseMap != false) {
|
|
IsCloseMap = other.IsCloseMap;
|
|
}
|
|
if (other.timelineInfo_ != null) {
|
|
if (timelineInfo_ == null) {
|
|
TimelineInfo = new global::EggLink.DanhengServer.Proto.PropTimelineInfo();
|
|
}
|
|
TimelineInfo.MergeFrom(other.TimelineInfo);
|
|
}
|
|
if (other.Uuid != 0UL) {
|
|
Uuid = other.Uuid;
|
|
}
|
|
if (other.PropEntityId != 0) {
|
|
PropEntityId = other.PropEntityId;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 8: {
|
|
PropEntityId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 34: {
|
|
if (timelineInfo_ == null) {
|
|
TimelineInfo = new global::EggLink.DanhengServer.Proto.PropTimelineInfo();
|
|
}
|
|
input.ReadMessage(TimelineInfo);
|
|
break;
|
|
}
|
|
case 80: {
|
|
IsCloseMap = input.ReadBool();
|
|
break;
|
|
}
|
|
case 96: {
|
|
Uuid = input.ReadUInt64();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
PropEntityId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 34: {
|
|
if (timelineInfo_ == null) {
|
|
TimelineInfo = new global::EggLink.DanhengServer.Proto.PropTimelineInfo();
|
|
}
|
|
input.ReadMessage(TimelineInfo);
|
|
break;
|
|
}
|
|
case 80: {
|
|
IsCloseMap = input.ReadBool();
|
|
break;
|
|
}
|
|
case 96: {
|
|
Uuid = input.ReadUInt64();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|