Files
DanhengServer-OpenSource/Proto/TrainPartyArea.cs
2025-08-29 22:54:29 +08:00

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",
"GhJBcmVhU3RlcEluZm8ucHJvdG8i0gEKDlRyYWluUGFydHlBcmVhEhsKE3N0",
"YXRpY19wcm9wX2lkX2xpc3QYCSADKA0SJQoOYXJlYV9zdGVwX2luZm8YCiAB",
"KAsyDS5BcmVhU3RlcEluZm8SEAoIcHJvZ3Jlc3MYAyABKA0SFAoMc3RlcF9p",
"ZF9saXN0GAggAygNEiYKDGR5bmFtaWNfaW5mbxgCIAMoCzIQLkFyZWFEeW5h",
"bWljSW5mbxIbChN2ZXJpZnlfc3RlcF9pZF9saXN0GAYgAygNEg8KB2FyZWFf",
"aWQYDiABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJv",
"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[]{ "StaticPropIdList", "AreaStepInfo", "Progress", "StepIdList", "DynamicInfo", "VerifyStepIdList", "AreaId" }, 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() {
staticPropIdList_ = other.staticPropIdList_.Clone();
areaStepInfo_ = other.areaStepInfo_ != null ? other.areaStepInfo_.Clone() : null;
progress_ = other.progress_;
stepIdList_ = other.stepIdList_.Clone();
dynamicInfo_ = other.dynamicInfo_.Clone();
verifyStepIdList_ = other.verifyStepIdList_.Clone();
areaId_ = other.areaId_;
_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 "static_prop_id_list" field.</summary>
public const int StaticPropIdListFieldNumber = 9;
private static readonly pb::FieldCodec<uint> _repeated_staticPropIdList_codec
= pb::FieldCodec.ForUInt32(74);
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 "area_step_info" field.</summary>
public const int AreaStepInfoFieldNumber = 10;
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;
}
}
/// <summary>Field number for the "progress" field.</summary>
public const int ProgressFieldNumber = 3;
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 "step_id_list" field.</summary>
public const int StepIdListFieldNumber = 8;
private static readonly pb::FieldCodec<uint> _repeated_stepIdList_codec
= pb::FieldCodec.ForUInt32(66);
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 "dynamic_info" field.</summary>
public const int DynamicInfoFieldNumber = 2;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.AreaDynamicInfo> _repeated_dynamicInfo_codec
= pb::FieldCodec.ForMessage(18, 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 = 6;
private static readonly pb::FieldCodec<uint> _repeated_verifyStepIdList_codec
= pb::FieldCodec.ForUInt32(50);
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 = 14;
private uint areaId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint AreaId {
get { return areaId_; }
set {
areaId_ = 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(!staticPropIdList_.Equals(other.staticPropIdList_)) return false;
if (!object.Equals(AreaStepInfo, other.AreaStepInfo)) return false;
if (Progress != other.Progress) return false;
if(!stepIdList_.Equals(other.stepIdList_)) return false;
if(!dynamicInfo_.Equals(other.dynamicInfo_)) return false;
if(!verifyStepIdList_.Equals(other.verifyStepIdList_)) return false;
if (AreaId != other.AreaId) 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;
hash ^= staticPropIdList_.GetHashCode();
if (areaStepInfo_ != null) hash ^= AreaStepInfo.GetHashCode();
if (Progress != 0) hash ^= Progress.GetHashCode();
hash ^= stepIdList_.GetHashCode();
hash ^= dynamicInfo_.GetHashCode();
hash ^= verifyStepIdList_.GetHashCode();
if (AreaId != 0) hash ^= AreaId.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
dynamicInfo_.WriteTo(output, _repeated_dynamicInfo_codec);
if (Progress != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Progress);
}
verifyStepIdList_.WriteTo(output, _repeated_verifyStepIdList_codec);
stepIdList_.WriteTo(output, _repeated_stepIdList_codec);
staticPropIdList_.WriteTo(output, _repeated_staticPropIdList_codec);
if (areaStepInfo_ != null) {
output.WriteRawTag(82);
output.WriteMessage(AreaStepInfo);
}
if (AreaId != 0) {
output.WriteRawTag(112);
output.WriteUInt32(AreaId);
}
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) {
dynamicInfo_.WriteTo(ref output, _repeated_dynamicInfo_codec);
if (Progress != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Progress);
}
verifyStepIdList_.WriteTo(ref output, _repeated_verifyStepIdList_codec);
stepIdList_.WriteTo(ref output, _repeated_stepIdList_codec);
staticPropIdList_.WriteTo(ref output, _repeated_staticPropIdList_codec);
if (areaStepInfo_ != null) {
output.WriteRawTag(82);
output.WriteMessage(AreaStepInfo);
}
if (AreaId != 0) {
output.WriteRawTag(112);
output.WriteUInt32(AreaId);
}
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;
size += staticPropIdList_.CalculateSize(_repeated_staticPropIdList_codec);
if (areaStepInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AreaStepInfo);
}
if (Progress != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Progress);
}
size += stepIdList_.CalculateSize(_repeated_stepIdList_codec);
size += dynamicInfo_.CalculateSize(_repeated_dynamicInfo_codec);
size += verifyStepIdList_.CalculateSize(_repeated_verifyStepIdList_codec);
if (AreaId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AreaId);
}
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;
}
staticPropIdList_.Add(other.staticPropIdList_);
if (other.areaStepInfo_ != null) {
if (areaStepInfo_ == null) {
AreaStepInfo = new global::EggLink.DanhengServer.Proto.AreaStepInfo();
}
AreaStepInfo.MergeFrom(other.AreaStepInfo);
}
if (other.Progress != 0) {
Progress = other.Progress;
}
stepIdList_.Add(other.stepIdList_);
dynamicInfo_.Add(other.dynamicInfo_);
verifyStepIdList_.Add(other.verifyStepIdList_);
if (other.AreaId != 0) {
AreaId = other.AreaId;
}
_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 18: {
dynamicInfo_.AddEntriesFrom(input, _repeated_dynamicInfo_codec);
break;
}
case 24: {
Progress = input.ReadUInt32();
break;
}
case 50:
case 48: {
verifyStepIdList_.AddEntriesFrom(input, _repeated_verifyStepIdList_codec);
break;
}
case 66:
case 64: {
stepIdList_.AddEntriesFrom(input, _repeated_stepIdList_codec);
break;
}
case 74:
case 72: {
staticPropIdList_.AddEntriesFrom(input, _repeated_staticPropIdList_codec);
break;
}
case 82: {
if (areaStepInfo_ == null) {
AreaStepInfo = new global::EggLink.DanhengServer.Proto.AreaStepInfo();
}
input.ReadMessage(AreaStepInfo);
break;
}
case 112: {
AreaId = input.ReadUInt32();
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 18: {
dynamicInfo_.AddEntriesFrom(ref input, _repeated_dynamicInfo_codec);
break;
}
case 24: {
Progress = input.ReadUInt32();
break;
}
case 50:
case 48: {
verifyStepIdList_.AddEntriesFrom(ref input, _repeated_verifyStepIdList_codec);
break;
}
case 66:
case 64: {
stepIdList_.AddEntriesFrom(ref input, _repeated_stepIdList_codec);
break;
}
case 74:
case 72: {
staticPropIdList_.AddEntriesFrom(ref input, _repeated_staticPropIdList_codec);
break;
}
case 82: {
if (areaStepInfo_ == null) {
AreaStepInfo = new global::EggLink.DanhengServer.Proto.AreaStepInfo();
}
input.ReadMessage(AreaStepInfo);
break;
}
case 112: {
AreaId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code