Files
DanhengServer-OpenSource/Proto/TrainPartyInfo.cs
2024-12-07 17:06:07 +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(
"ChRUcmFpblBhcnR5SW5mby5wcm90bxoRUE1FREpJS0lKTUoucHJvdG8aFFRy",
"YWluUGFydHlBcmVhLnByb3RvIooCCg5UcmFpblBhcnR5SW5mbxIXCg90cmFp",
"bl9wYXJ0eV90YWcYDiABKA0SIgoJYXJlYV9saXN0GAwgAygLMg8uVHJhaW5Q",
"YXJ0eUFyZWESGAoQdHJhaW5fcGFydHlfcmFuaxgGIAEoDRITCgtKR0pIT0RH",
"SEVKShgIIAMoDRITCgtQRUhFSEJPQUZKRhgDIAEoDRITCgtNUEdDSEVKTEZF",
"RxgNIAEoDRITCgtBUEFQSVBNT0dHQxgKIAEoDRIRCgljb2luX2Nvc3QYByAB",
"KA0SFwoPZHluYW1pY19pZF9saXN0GAkgAygNEiEKC0VQUE9GTkJNT0hPGAUg",
"AygLMgwuUE1FREpJS0lKTUpCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Q",
"cm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PMEDJIKIJMJReflection.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[]{ "TrainPartyTag", "AreaList", "TrainPartyRank", "JGJHODGHEJJ", "PEHEHBOAFJF", "MPGCHEJLFEG", "APAPIPMOGGC", "CoinCost", "DynamicIdList", "EPPOFNBMOHO" }, 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() {
trainPartyTag_ = other.trainPartyTag_;
areaList_ = other.areaList_.Clone();
trainPartyRank_ = other.trainPartyRank_;
jGJHODGHEJJ_ = other.jGJHODGHEJJ_.Clone();
pEHEHBOAFJF_ = other.pEHEHBOAFJF_;
mPGCHEJLFEG_ = other.mPGCHEJLFEG_;
aPAPIPMOGGC_ = other.aPAPIPMOGGC_;
coinCost_ = other.coinCost_;
dynamicIdList_ = other.dynamicIdList_.Clone();
ePPOFNBMOHO_ = other.ePPOFNBMOHO_.Clone();
_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 "train_party_tag" field.</summary>
public const int TrainPartyTagFieldNumber = 14;
private uint trainPartyTag_;
[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 "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 "train_party_rank" field.</summary>
public const int TrainPartyRankFieldNumber = 6;
private uint trainPartyRank_;
[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 "JGJHODGHEJJ" field.</summary>
public const int JGJHODGHEJJFieldNumber = 8;
private static readonly pb::FieldCodec<uint> _repeated_jGJHODGHEJJ_codec
= pb::FieldCodec.ForUInt32(66);
private readonly pbc::RepeatedField<uint> jGJHODGHEJJ_ = new pbc::RepeatedField<uint>();
/// <summary>
/// 9
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> JGJHODGHEJJ {
get { return jGJHODGHEJJ_; }
}
/// <summary>Field number for the "PEHEHBOAFJF" field.</summary>
public const int PEHEHBOAFJFFieldNumber = 3;
private uint pEHEHBOAFJF_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PEHEHBOAFJF {
get { return pEHEHBOAFJF_; }
set {
pEHEHBOAFJF_ = value;
}
}
/// <summary>Field number for the "MPGCHEJLFEG" field.</summary>
public const int MPGCHEJLFEGFieldNumber = 13;
private uint mPGCHEJLFEG_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint MPGCHEJLFEG {
get { return mPGCHEJLFEG_; }
set {
mPGCHEJLFEG_ = value;
}
}
/// <summary>Field number for the "APAPIPMOGGC" field.</summary>
public const int APAPIPMOGGCFieldNumber = 10;
private uint aPAPIPMOGGC_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint APAPIPMOGGC {
get { return aPAPIPMOGGC_; }
set {
aPAPIPMOGGC_ = value;
}
}
/// <summary>Field number for the "coin_cost" field.</summary>
public const int CoinCostFieldNumber = 7;
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 "dynamic_id_list" field.</summary>
public const int DynamicIdListFieldNumber = 9;
private static readonly pb::FieldCodec<uint> _repeated_dynamicIdList_codec
= pb::FieldCodec.ForUInt32(74);
private readonly pbc::RepeatedField<uint> dynamicIdList_ = new pbc::RepeatedField<uint>();
/// <summary>
/// 8
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> DynamicIdList {
get { return dynamicIdList_; }
}
/// <summary>Field number for the "EPPOFNBMOHO" field.</summary>
public const int EPPOFNBMOHOFieldNumber = 5;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.PMEDJIKIJMJ> _repeated_ePPOFNBMOHO_codec
= pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.PMEDJIKIJMJ.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PMEDJIKIJMJ> ePPOFNBMOHO_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PMEDJIKIJMJ>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PMEDJIKIJMJ> EPPOFNBMOHO {
get { return ePPOFNBMOHO_; }
}
[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 (TrainPartyTag != other.TrainPartyTag) return false;
if(!areaList_.Equals(other.areaList_)) return false;
if (TrainPartyRank != other.TrainPartyRank) return false;
if(!jGJHODGHEJJ_.Equals(other.jGJHODGHEJJ_)) return false;
if (PEHEHBOAFJF != other.PEHEHBOAFJF) return false;
if (MPGCHEJLFEG != other.MPGCHEJLFEG) return false;
if (APAPIPMOGGC != other.APAPIPMOGGC) return false;
if (CoinCost != other.CoinCost) return false;
if(!dynamicIdList_.Equals(other.dynamicIdList_)) return false;
if(!ePPOFNBMOHO_.Equals(other.ePPOFNBMOHO_)) 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 (TrainPartyTag != 0) hash ^= TrainPartyTag.GetHashCode();
hash ^= areaList_.GetHashCode();
if (TrainPartyRank != 0) hash ^= TrainPartyRank.GetHashCode();
hash ^= jGJHODGHEJJ_.GetHashCode();
if (PEHEHBOAFJF != 0) hash ^= PEHEHBOAFJF.GetHashCode();
if (MPGCHEJLFEG != 0) hash ^= MPGCHEJLFEG.GetHashCode();
if (APAPIPMOGGC != 0) hash ^= APAPIPMOGGC.GetHashCode();
if (CoinCost != 0) hash ^= CoinCost.GetHashCode();
hash ^= dynamicIdList_.GetHashCode();
hash ^= ePPOFNBMOHO_.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 (PEHEHBOAFJF != 0) {
output.WriteRawTag(24);
output.WriteUInt32(PEHEHBOAFJF);
}
ePPOFNBMOHO_.WriteTo(output, _repeated_ePPOFNBMOHO_codec);
if (TrainPartyRank != 0) {
output.WriteRawTag(48);
output.WriteUInt32(TrainPartyRank);
}
if (CoinCost != 0) {
output.WriteRawTag(56);
output.WriteUInt32(CoinCost);
}
jGJHODGHEJJ_.WriteTo(output, _repeated_jGJHODGHEJJ_codec);
dynamicIdList_.WriteTo(output, _repeated_dynamicIdList_codec);
if (APAPIPMOGGC != 0) {
output.WriteRawTag(80);
output.WriteUInt32(APAPIPMOGGC);
}
areaList_.WriteTo(output, _repeated_areaList_codec);
if (MPGCHEJLFEG != 0) {
output.WriteRawTag(104);
output.WriteUInt32(MPGCHEJLFEG);
}
if (TrainPartyTag != 0) {
output.WriteRawTag(112);
output.WriteUInt32(TrainPartyTag);
}
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 (PEHEHBOAFJF != 0) {
output.WriteRawTag(24);
output.WriteUInt32(PEHEHBOAFJF);
}
ePPOFNBMOHO_.WriteTo(ref output, _repeated_ePPOFNBMOHO_codec);
if (TrainPartyRank != 0) {
output.WriteRawTag(48);
output.WriteUInt32(TrainPartyRank);
}
if (CoinCost != 0) {
output.WriteRawTag(56);
output.WriteUInt32(CoinCost);
}
jGJHODGHEJJ_.WriteTo(ref output, _repeated_jGJHODGHEJJ_codec);
dynamicIdList_.WriteTo(ref output, _repeated_dynamicIdList_codec);
if (APAPIPMOGGC != 0) {
output.WriteRawTag(80);
output.WriteUInt32(APAPIPMOGGC);
}
areaList_.WriteTo(ref output, _repeated_areaList_codec);
if (MPGCHEJLFEG != 0) {
output.WriteRawTag(104);
output.WriteUInt32(MPGCHEJLFEG);
}
if (TrainPartyTag != 0) {
output.WriteRawTag(112);
output.WriteUInt32(TrainPartyTag);
}
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 (TrainPartyTag != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TrainPartyTag);
}
size += areaList_.CalculateSize(_repeated_areaList_codec);
if (TrainPartyRank != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TrainPartyRank);
}
size += jGJHODGHEJJ_.CalculateSize(_repeated_jGJHODGHEJJ_codec);
if (PEHEHBOAFJF != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PEHEHBOAFJF);
}
if (MPGCHEJLFEG != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MPGCHEJLFEG);
}
if (APAPIPMOGGC != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(APAPIPMOGGC);
}
if (CoinCost != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CoinCost);
}
size += dynamicIdList_.CalculateSize(_repeated_dynamicIdList_codec);
size += ePPOFNBMOHO_.CalculateSize(_repeated_ePPOFNBMOHO_codec);
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;
}
if (other.TrainPartyTag != 0) {
TrainPartyTag = other.TrainPartyTag;
}
areaList_.Add(other.areaList_);
if (other.TrainPartyRank != 0) {
TrainPartyRank = other.TrainPartyRank;
}
jGJHODGHEJJ_.Add(other.jGJHODGHEJJ_);
if (other.PEHEHBOAFJF != 0) {
PEHEHBOAFJF = other.PEHEHBOAFJF;
}
if (other.MPGCHEJLFEG != 0) {
MPGCHEJLFEG = other.MPGCHEJLFEG;
}
if (other.APAPIPMOGGC != 0) {
APAPIPMOGGC = other.APAPIPMOGGC;
}
if (other.CoinCost != 0) {
CoinCost = other.CoinCost;
}
dynamicIdList_.Add(other.dynamicIdList_);
ePPOFNBMOHO_.Add(other.ePPOFNBMOHO_);
_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 24: {
PEHEHBOAFJF = input.ReadUInt32();
break;
}
case 42: {
ePPOFNBMOHO_.AddEntriesFrom(input, _repeated_ePPOFNBMOHO_codec);
break;
}
case 48: {
TrainPartyRank = input.ReadUInt32();
break;
}
case 56: {
CoinCost = input.ReadUInt32();
break;
}
case 66:
case 64: {
jGJHODGHEJJ_.AddEntriesFrom(input, _repeated_jGJHODGHEJJ_codec);
break;
}
case 74:
case 72: {
dynamicIdList_.AddEntriesFrom(input, _repeated_dynamicIdList_codec);
break;
}
case 80: {
APAPIPMOGGC = input.ReadUInt32();
break;
}
case 98: {
areaList_.AddEntriesFrom(input, _repeated_areaList_codec);
break;
}
case 104: {
MPGCHEJLFEG = input.ReadUInt32();
break;
}
case 112: {
TrainPartyTag = 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 24: {
PEHEHBOAFJF = input.ReadUInt32();
break;
}
case 42: {
ePPOFNBMOHO_.AddEntriesFrom(ref input, _repeated_ePPOFNBMOHO_codec);
break;
}
case 48: {
TrainPartyRank = input.ReadUInt32();
break;
}
case 56: {
CoinCost = input.ReadUInt32();
break;
}
case 66:
case 64: {
jGJHODGHEJJ_.AddEntriesFrom(ref input, _repeated_jGJHODGHEJJ_codec);
break;
}
case 74:
case 72: {
dynamicIdList_.AddEntriesFrom(ref input, _repeated_dynamicIdList_codec);
break;
}
case 80: {
APAPIPMOGGC = input.ReadUInt32();
break;
}
case 98: {
areaList_.AddEntriesFrom(ref input, _repeated_areaList_codec);
break;
}
case 104: {
MPGCHEJLFEG = input.ReadUInt32();
break;
}
case 112: {
TrainPartyTag = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code