Files
DanhengServer-OpenSource/Proto/TrainPartyInfo.cs
2024-11-03 14:14:49 +08:00

540 lines
20 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TrainPartyInfo.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 TrainPartyInfo.proto</summary>
public static partial class TrainPartyInfoReflection {
#region Descriptor
/// <summary>File descriptor for TrainPartyInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static TrainPartyInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChRUcmFpblBhcnR5SW5mby5wcm90bxoRSEhPS0JQSE5GTkUucHJvdG8aFFRy",
"YWluUGFydHlBcmVhLnByb3RvIooCCg5UcmFpblBhcnR5SW5mbxIiCglhcmVh",
"X2xpc3QYDCADKAsyDy5UcmFpblBhcnR5QXJlYRIRCgljb2luX2Nvc3QYAiAB",
"KA0SGAoQdHJhaW5fcGFydHlfcmFuaxgFIAEoDRIhCgtOTkJITERETkxERRgI",
"IAMoCzIMLkhIT0tCUEhORk5FEhMKC0NGSktCSkhOSUpNGA4gASgNEhcKD3Ry",
"YWluX3BhcnR5X3RhZxgGIAEoDRITCgtLQ0ZFRUNBQ01PRBgKIAMoDRITCgtD",
"REpGREpJQUlORxgBIAEoDRIXCg9keW5hbWljX2lkX2xpc3QYDyADKA0SEwoL",
"SElNQ0FPS0ROTVAYDSABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Q",
"cm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.HHOKBPHNFNEReflection.Descriptor, global::EggLink.DanhengServer.Proto.TrainPartyAreaReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TrainPartyInfo), global::EggLink.DanhengServer.Proto.TrainPartyInfo.Parser, new[]{ "AreaList", "CoinCost", "TrainPartyRank", "NNBHLDDNLDE", "CFJKBJHNIJM", "TrainPartyTag", "KCFEECACMOD", "CDJFDJIAING", "DynamicIdList", "HIMCAOKDNMP" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TrainPartyInfo : pb::IMessage<TrainPartyInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TrainPartyInfo> _parser = new pb::MessageParser<TrainPartyInfo>(() => new TrainPartyInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TrainPartyInfo> 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.TrainPartyInfoReflection.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 TrainPartyInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TrainPartyInfo(TrainPartyInfo other) : this() {
areaList_ = other.areaList_.Clone();
coinCost_ = other.coinCost_;
trainPartyRank_ = other.trainPartyRank_;
nNBHLDDNLDE_ = other.nNBHLDDNLDE_.Clone();
cFJKBJHNIJM_ = other.cFJKBJHNIJM_;
trainPartyTag_ = other.trainPartyTag_;
kCFEECACMOD_ = other.kCFEECACMOD_.Clone();
cDJFDJIAING_ = other.cDJFDJIAING_;
dynamicIdList_ = other.dynamicIdList_.Clone();
hIMCAOKDNMP_ = other.hIMCAOKDNMP_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TrainPartyInfo Clone() {
return new TrainPartyInfo(this);
}
/// <summary>Field number for the "area_list" field.</summary>
public const int AreaListFieldNumber = 12;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.TrainPartyArea> _repeated_areaList_codec
= pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.TrainPartyArea.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.TrainPartyArea> areaList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.TrainPartyArea>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.TrainPartyArea> AreaList {
get { return areaList_; }
}
/// <summary>Field number for the "coin_cost" field.</summary>
public const int CoinCostFieldNumber = 2;
private uint coinCost_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CoinCost {
get { return coinCost_; }
set {
coinCost_ = value;
}
}
/// <summary>Field number for the "train_party_rank" field.</summary>
public const int TrainPartyRankFieldNumber = 5;
private uint trainPartyRank_;
/// <summary>
/// 6
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint TrainPartyRank {
get { return trainPartyRank_; }
set {
trainPartyRank_ = value;
}
}
/// <summary>Field number for the "NNBHLDDNLDE" field.</summary>
public const int NNBHLDDNLDEFieldNumber = 8;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.HHOKBPHNFNE> _repeated_nNBHLDDNLDE_codec
= pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.HHOKBPHNFNE.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HHOKBPHNFNE> nNBHLDDNLDE_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HHOKBPHNFNE>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HHOKBPHNFNE> NNBHLDDNLDE {
get { return nNBHLDDNLDE_; }
}
/// <summary>Field number for the "CFJKBJHNIJM" field.</summary>
public const int CFJKBJHNIJMFieldNumber = 14;
private uint cFJKBJHNIJM_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CFJKBJHNIJM {
get { return cFJKBJHNIJM_; }
set {
cFJKBJHNIJM_ = value;
}
}
/// <summary>Field number for the "train_party_tag" field.</summary>
public const int TrainPartyTagFieldNumber = 6;
private uint trainPartyTag_;
/// <summary>
/// 5
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint TrainPartyTag {
get { return trainPartyTag_; }
set {
trainPartyTag_ = value;
}
}
/// <summary>Field number for the "KCFEECACMOD" field.</summary>
public const int KCFEECACMODFieldNumber = 10;
private static readonly pb::FieldCodec<uint> _repeated_kCFEECACMOD_codec
= pb::FieldCodec.ForUInt32(82);
private readonly pbc::RepeatedField<uint> kCFEECACMOD_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> KCFEECACMOD {
get { return kCFEECACMOD_; }
}
/// <summary>Field number for the "CDJFDJIAING" field.</summary>
public const int CDJFDJIAINGFieldNumber = 1;
private uint cDJFDJIAING_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CDJFDJIAING {
get { return cDJFDJIAING_; }
set {
cDJFDJIAING_ = value;
}
}
/// <summary>Field number for the "dynamic_id_list" field.</summary>
public const int DynamicIdListFieldNumber = 15;
private static readonly pb::FieldCodec<uint> _repeated_dynamicIdList_codec
= pb::FieldCodec.ForUInt32(122);
private readonly pbc::RepeatedField<uint> dynamicIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> DynamicIdList {
get { return dynamicIdList_; }
}
/// <summary>Field number for the "HIMCAOKDNMP" field.</summary>
public const int HIMCAOKDNMPFieldNumber = 13;
private uint hIMCAOKDNMP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint HIMCAOKDNMP {
get { return hIMCAOKDNMP_; }
set {
hIMCAOKDNMP_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TrainPartyInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TrainPartyInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!areaList_.Equals(other.areaList_)) return false;
if (CoinCost != other.CoinCost) return false;
if (TrainPartyRank != other.TrainPartyRank) return false;
if(!nNBHLDDNLDE_.Equals(other.nNBHLDDNLDE_)) return false;
if (CFJKBJHNIJM != other.CFJKBJHNIJM) return false;
if (TrainPartyTag != other.TrainPartyTag) return false;
if(!kCFEECACMOD_.Equals(other.kCFEECACMOD_)) return false;
if (CDJFDJIAING != other.CDJFDJIAING) return false;
if(!dynamicIdList_.Equals(other.dynamicIdList_)) return false;
if (HIMCAOKDNMP != other.HIMCAOKDNMP) 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 ^= areaList_.GetHashCode();
if (CoinCost != 0) hash ^= CoinCost.GetHashCode();
if (TrainPartyRank != 0) hash ^= TrainPartyRank.GetHashCode();
hash ^= nNBHLDDNLDE_.GetHashCode();
if (CFJKBJHNIJM != 0) hash ^= CFJKBJHNIJM.GetHashCode();
if (TrainPartyTag != 0) hash ^= TrainPartyTag.GetHashCode();
hash ^= kCFEECACMOD_.GetHashCode();
if (CDJFDJIAING != 0) hash ^= CDJFDJIAING.GetHashCode();
hash ^= dynamicIdList_.GetHashCode();
if (HIMCAOKDNMP != 0) hash ^= HIMCAOKDNMP.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 (CDJFDJIAING != 0) {
output.WriteRawTag(8);
output.WriteUInt32(CDJFDJIAING);
}
if (CoinCost != 0) {
output.WriteRawTag(16);
output.WriteUInt32(CoinCost);
}
if (TrainPartyRank != 0) {
output.WriteRawTag(40);
output.WriteUInt32(TrainPartyRank);
}
if (TrainPartyTag != 0) {
output.WriteRawTag(48);
output.WriteUInt32(TrainPartyTag);
}
nNBHLDDNLDE_.WriteTo(output, _repeated_nNBHLDDNLDE_codec);
kCFEECACMOD_.WriteTo(output, _repeated_kCFEECACMOD_codec);
areaList_.WriteTo(output, _repeated_areaList_codec);
if (HIMCAOKDNMP != 0) {
output.WriteRawTag(104);
output.WriteUInt32(HIMCAOKDNMP);
}
if (CFJKBJHNIJM != 0) {
output.WriteRawTag(112);
output.WriteUInt32(CFJKBJHNIJM);
}
dynamicIdList_.WriteTo(output, _repeated_dynamicIdList_codec);
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 (CDJFDJIAING != 0) {
output.WriteRawTag(8);
output.WriteUInt32(CDJFDJIAING);
}
if (CoinCost != 0) {
output.WriteRawTag(16);
output.WriteUInt32(CoinCost);
}
if (TrainPartyRank != 0) {
output.WriteRawTag(40);
output.WriteUInt32(TrainPartyRank);
}
if (TrainPartyTag != 0) {
output.WriteRawTag(48);
output.WriteUInt32(TrainPartyTag);
}
nNBHLDDNLDE_.WriteTo(ref output, _repeated_nNBHLDDNLDE_codec);
kCFEECACMOD_.WriteTo(ref output, _repeated_kCFEECACMOD_codec);
areaList_.WriteTo(ref output, _repeated_areaList_codec);
if (HIMCAOKDNMP != 0) {
output.WriteRawTag(104);
output.WriteUInt32(HIMCAOKDNMP);
}
if (CFJKBJHNIJM != 0) {
output.WriteRawTag(112);
output.WriteUInt32(CFJKBJHNIJM);
}
dynamicIdList_.WriteTo(ref output, _repeated_dynamicIdList_codec);
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 += areaList_.CalculateSize(_repeated_areaList_codec);
if (CoinCost != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CoinCost);
}
if (TrainPartyRank != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TrainPartyRank);
}
size += nNBHLDDNLDE_.CalculateSize(_repeated_nNBHLDDNLDE_codec);
if (CFJKBJHNIJM != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CFJKBJHNIJM);
}
if (TrainPartyTag != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TrainPartyTag);
}
size += kCFEECACMOD_.CalculateSize(_repeated_kCFEECACMOD_codec);
if (CDJFDJIAING != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CDJFDJIAING);
}
size += dynamicIdList_.CalculateSize(_repeated_dynamicIdList_codec);
if (HIMCAOKDNMP != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HIMCAOKDNMP);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TrainPartyInfo other) {
if (other == null) {
return;
}
areaList_.Add(other.areaList_);
if (other.CoinCost != 0) {
CoinCost = other.CoinCost;
}
if (other.TrainPartyRank != 0) {
TrainPartyRank = other.TrainPartyRank;
}
nNBHLDDNLDE_.Add(other.nNBHLDDNLDE_);
if (other.CFJKBJHNIJM != 0) {
CFJKBJHNIJM = other.CFJKBJHNIJM;
}
if (other.TrainPartyTag != 0) {
TrainPartyTag = other.TrainPartyTag;
}
kCFEECACMOD_.Add(other.kCFEECACMOD_);
if (other.CDJFDJIAING != 0) {
CDJFDJIAING = other.CDJFDJIAING;
}
dynamicIdList_.Add(other.dynamicIdList_);
if (other.HIMCAOKDNMP != 0) {
HIMCAOKDNMP = other.HIMCAOKDNMP;
}
_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: {
CDJFDJIAING = input.ReadUInt32();
break;
}
case 16: {
CoinCost = input.ReadUInt32();
break;
}
case 40: {
TrainPartyRank = input.ReadUInt32();
break;
}
case 48: {
TrainPartyTag = input.ReadUInt32();
break;
}
case 66: {
nNBHLDDNLDE_.AddEntriesFrom(input, _repeated_nNBHLDDNLDE_codec);
break;
}
case 82:
case 80: {
kCFEECACMOD_.AddEntriesFrom(input, _repeated_kCFEECACMOD_codec);
break;
}
case 98: {
areaList_.AddEntriesFrom(input, _repeated_areaList_codec);
break;
}
case 104: {
HIMCAOKDNMP = input.ReadUInt32();
break;
}
case 112: {
CFJKBJHNIJM = input.ReadUInt32();
break;
}
case 122:
case 120: {
dynamicIdList_.AddEntriesFrom(input, _repeated_dynamicIdList_codec);
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: {
CDJFDJIAING = input.ReadUInt32();
break;
}
case 16: {
CoinCost = input.ReadUInt32();
break;
}
case 40: {
TrainPartyRank = input.ReadUInt32();
break;
}
case 48: {
TrainPartyTag = input.ReadUInt32();
break;
}
case 66: {
nNBHLDDNLDE_.AddEntriesFrom(ref input, _repeated_nNBHLDDNLDE_codec);
break;
}
case 82:
case 80: {
kCFEECACMOD_.AddEntriesFrom(ref input, _repeated_kCFEECACMOD_codec);
break;
}
case 98: {
areaList_.AddEntriesFrom(ref input, _repeated_areaList_codec);
break;
}
case 104: {
HIMCAOKDNMP = input.ReadUInt32();
break;
}
case 112: {
CFJKBJHNIJM = input.ReadUInt32();
break;
}
case 122:
case 120: {
dynamicIdList_.AddEntriesFrom(ref input, _repeated_dynamicIdList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code