mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
433 lines
17 KiB
C#
433 lines
17 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: TrainPartyArea.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 TrainPartyArea.proto</summary>
|
|
public static partial class TrainPartyAreaReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for TrainPartyArea.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static TrainPartyAreaReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChRUcmFpblBhcnR5QXJlYS5wcm90bxoVQXJlYUR5bmFtaWNJbmZvLnByb3Rv",
|
|
"GhJBcmVhU3RlcEluZm8ucHJvdG8i0gEKDlRyYWluUGFydHlBcmVhEhAKCHBy",
|
|
"b2dyZXNzGAUgASgNEiYKDGR5bmFtaWNfaW5mbxgJIAMoCzIQLkFyZWFEeW5h",
|
|
"bWljSW5mbxIbChN2ZXJpZnlfc3RlcF9pZF9saXN0GAQgAygNEg8KB2FyZWFf",
|
|
"aWQYASABKA0SGwoTc3RhdGljX3Byb3BfaWRfbGlzdBgMIAMoDRIUCgxzdGVw",
|
|
"X2lkX2xpc3QYCiADKA0SJQoOYXJlYV9zdGVwX2luZm8YDSABKAsyDS5BcmVh",
|
|
"U3RlcEluZm9CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJv",
|
|
"dG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.AreaDynamicInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.AreaStepInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TrainPartyArea), global::EggLink.DanhengServer.Proto.TrainPartyArea.Parser, new[]{ "Progress", "DynamicInfo", "VerifyStepIdList", "AreaId", "StaticPropIdList", "StepIdList", "AreaStepInfo" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class TrainPartyArea : pb::IMessage<TrainPartyArea>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<TrainPartyArea> _parser = new pb::MessageParser<TrainPartyArea>(() => new TrainPartyArea());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<TrainPartyArea> 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.TrainPartyAreaReflection.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 TrainPartyArea() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public TrainPartyArea(TrainPartyArea other) : this() {
|
|
progress_ = other.progress_;
|
|
dynamicInfo_ = other.dynamicInfo_.Clone();
|
|
verifyStepIdList_ = other.verifyStepIdList_.Clone();
|
|
areaId_ = other.areaId_;
|
|
staticPropIdList_ = other.staticPropIdList_.Clone();
|
|
stepIdList_ = other.stepIdList_.Clone();
|
|
areaStepInfo_ = other.areaStepInfo_ != null ? other.areaStepInfo_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public TrainPartyArea Clone() {
|
|
return new TrainPartyArea(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "progress" field.</summary>
|
|
public const int ProgressFieldNumber = 5;
|
|
private uint progress_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Progress {
|
|
get { return progress_; }
|
|
set {
|
|
progress_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "dynamic_info" field.</summary>
|
|
public const int DynamicInfoFieldNumber = 9;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.AreaDynamicInfo> _repeated_dynamicInfo_codec
|
|
= pb::FieldCodec.ForMessage(74, global::EggLink.DanhengServer.Proto.AreaDynamicInfo.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AreaDynamicInfo> dynamicInfo_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AreaDynamicInfo>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AreaDynamicInfo> DynamicInfo {
|
|
get { return dynamicInfo_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "verify_step_id_list" field.</summary>
|
|
public const int VerifyStepIdListFieldNumber = 4;
|
|
private static readonly pb::FieldCodec<uint> _repeated_verifyStepIdList_codec
|
|
= pb::FieldCodec.ForUInt32(34);
|
|
private readonly pbc::RepeatedField<uint> verifyStepIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> VerifyStepIdList {
|
|
get { return verifyStepIdList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "area_id" field.</summary>
|
|
public const int AreaIdFieldNumber = 1;
|
|
private uint areaId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint AreaId {
|
|
get { return areaId_; }
|
|
set {
|
|
areaId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "static_prop_id_list" field.</summary>
|
|
public const int StaticPropIdListFieldNumber = 12;
|
|
private static readonly pb::FieldCodec<uint> _repeated_staticPropIdList_codec
|
|
= pb::FieldCodec.ForUInt32(98);
|
|
private readonly pbc::RepeatedField<uint> staticPropIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> StaticPropIdList {
|
|
get { return staticPropIdList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "step_id_list" field.</summary>
|
|
public const int StepIdListFieldNumber = 10;
|
|
private static readonly pb::FieldCodec<uint> _repeated_stepIdList_codec
|
|
= pb::FieldCodec.ForUInt32(82);
|
|
private readonly pbc::RepeatedField<uint> stepIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> StepIdList {
|
|
get { return stepIdList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "area_step_info" field.</summary>
|
|
public const int AreaStepInfoFieldNumber = 13;
|
|
private global::EggLink.DanhengServer.Proto.AreaStepInfo areaStepInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.AreaStepInfo AreaStepInfo {
|
|
get { return areaStepInfo_; }
|
|
set {
|
|
areaStepInfo_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as TrainPartyArea);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(TrainPartyArea other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Progress != other.Progress) return false;
|
|
if(!dynamicInfo_.Equals(other.dynamicInfo_)) return false;
|
|
if(!verifyStepIdList_.Equals(other.verifyStepIdList_)) return false;
|
|
if (AreaId != other.AreaId) return false;
|
|
if(!staticPropIdList_.Equals(other.staticPropIdList_)) return false;
|
|
if(!stepIdList_.Equals(other.stepIdList_)) return false;
|
|
if (!object.Equals(AreaStepInfo, other.AreaStepInfo)) 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 (Progress != 0) hash ^= Progress.GetHashCode();
|
|
hash ^= dynamicInfo_.GetHashCode();
|
|
hash ^= verifyStepIdList_.GetHashCode();
|
|
if (AreaId != 0) hash ^= AreaId.GetHashCode();
|
|
hash ^= staticPropIdList_.GetHashCode();
|
|
hash ^= stepIdList_.GetHashCode();
|
|
if (areaStepInfo_ != null) hash ^= AreaStepInfo.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 (AreaId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(AreaId);
|
|
}
|
|
verifyStepIdList_.WriteTo(output, _repeated_verifyStepIdList_codec);
|
|
if (Progress != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Progress);
|
|
}
|
|
dynamicInfo_.WriteTo(output, _repeated_dynamicInfo_codec);
|
|
stepIdList_.WriteTo(output, _repeated_stepIdList_codec);
|
|
staticPropIdList_.WriteTo(output, _repeated_staticPropIdList_codec);
|
|
if (areaStepInfo_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(AreaStepInfo);
|
|
}
|
|
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 (AreaId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(AreaId);
|
|
}
|
|
verifyStepIdList_.WriteTo(ref output, _repeated_verifyStepIdList_codec);
|
|
if (Progress != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Progress);
|
|
}
|
|
dynamicInfo_.WriteTo(ref output, _repeated_dynamicInfo_codec);
|
|
stepIdList_.WriteTo(ref output, _repeated_stepIdList_codec);
|
|
staticPropIdList_.WriteTo(ref output, _repeated_staticPropIdList_codec);
|
|
if (areaStepInfo_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(AreaStepInfo);
|
|
}
|
|
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 (Progress != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Progress);
|
|
}
|
|
size += dynamicInfo_.CalculateSize(_repeated_dynamicInfo_codec);
|
|
size += verifyStepIdList_.CalculateSize(_repeated_verifyStepIdList_codec);
|
|
if (AreaId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AreaId);
|
|
}
|
|
size += staticPropIdList_.CalculateSize(_repeated_staticPropIdList_codec);
|
|
size += stepIdList_.CalculateSize(_repeated_stepIdList_codec);
|
|
if (areaStepInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AreaStepInfo);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(TrainPartyArea other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Progress != 0) {
|
|
Progress = other.Progress;
|
|
}
|
|
dynamicInfo_.Add(other.dynamicInfo_);
|
|
verifyStepIdList_.Add(other.verifyStepIdList_);
|
|
if (other.AreaId != 0) {
|
|
AreaId = other.AreaId;
|
|
}
|
|
staticPropIdList_.Add(other.staticPropIdList_);
|
|
stepIdList_.Add(other.stepIdList_);
|
|
if (other.areaStepInfo_ != null) {
|
|
if (areaStepInfo_ == null) {
|
|
AreaStepInfo = new global::EggLink.DanhengServer.Proto.AreaStepInfo();
|
|
}
|
|
AreaStepInfo.MergeFrom(other.AreaStepInfo);
|
|
}
|
|
_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: {
|
|
AreaId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 34:
|
|
case 32: {
|
|
verifyStepIdList_.AddEntriesFrom(input, _repeated_verifyStepIdList_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
Progress = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 74: {
|
|
dynamicInfo_.AddEntriesFrom(input, _repeated_dynamicInfo_codec);
|
|
break;
|
|
}
|
|
case 82:
|
|
case 80: {
|
|
stepIdList_.AddEntriesFrom(input, _repeated_stepIdList_codec);
|
|
break;
|
|
}
|
|
case 98:
|
|
case 96: {
|
|
staticPropIdList_.AddEntriesFrom(input, _repeated_staticPropIdList_codec);
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (areaStepInfo_ == null) {
|
|
AreaStepInfo = new global::EggLink.DanhengServer.Proto.AreaStepInfo();
|
|
}
|
|
input.ReadMessage(AreaStepInfo);
|
|
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: {
|
|
AreaId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 34:
|
|
case 32: {
|
|
verifyStepIdList_.AddEntriesFrom(ref input, _repeated_verifyStepIdList_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
Progress = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 74: {
|
|
dynamicInfo_.AddEntriesFrom(ref input, _repeated_dynamicInfo_codec);
|
|
break;
|
|
}
|
|
case 82:
|
|
case 80: {
|
|
stepIdList_.AddEntriesFrom(ref input, _repeated_stepIdList_codec);
|
|
break;
|
|
}
|
|
case 98:
|
|
case 96: {
|
|
staticPropIdList_.AddEntriesFrom(ref input, _repeated_staticPropIdList_codec);
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (areaStepInfo_ == null) {
|
|
AreaStepInfo = new global::EggLink.DanhengServer.Proto.AreaStepInfo();
|
|
}
|
|
input.ReadMessage(AreaStepInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|