// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: TrainPartyData.proto // #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 { /// Holder for reflection information generated from TrainPartyData.proto public static partial class TrainPartyDataReflection { #region Descriptor /// File descriptor for TrainPartyData.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static TrainPartyDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChRUcmFpblBhcnR5RGF0YS5wcm90bxoUVHJhaW5QYXJ0eUluZm8ucHJvdG8a", "EUNETkdORE5MTkFKLnByb3RvGh1UcmFpblBhcnR5UGFzc2VuZ2VySW5mby5w", "cm90byLRAQoOVHJhaW5QYXJ0eURhdGESIQoLQ0VGTUJBRkNOUEsYBSABKAsy", "DC5DRE5HTkROTE5BShITCgtBSUFOT0ZLTkxIRxgLIAEoDRIpChB0cmFpbl9w", "YXJ0eV9pbmZvGAcgASgLMg8uVHJhaW5QYXJ0eUluZm8SEQoJcmVjb3JkX2lk", "GAggASgNEjAKDnBhc3Nlbmdlcl9pbmZvGA8gASgLMhguVHJhaW5QYXJ0eVBh", "c3NlbmdlckluZm8SFwoPdW5sb2NrX2FyZWFfbnVtGAogASgNQh6qAhtFZ2dM", "aW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.TrainPartyInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.CDNGNDNLNAJReflection.Descriptor, global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TrainPartyData), global::EggLink.DanhengServer.Proto.TrainPartyData.Parser, new[]{ "CEFMBAFCNPK", "AIANOFKNLHG", "TrainPartyInfo", "RecordId", "PassengerInfo", "UnlockAreaNum" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TrainPartyData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TrainPartyData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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.TrainPartyDataReflection.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 TrainPartyData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TrainPartyData(TrainPartyData other) : this() { cEFMBAFCNPK_ = other.cEFMBAFCNPK_ != null ? other.cEFMBAFCNPK_.Clone() : null; aIANOFKNLHG_ = other.aIANOFKNLHG_; trainPartyInfo_ = other.trainPartyInfo_ != null ? other.trainPartyInfo_.Clone() : null; recordId_ = other.recordId_; passengerInfo_ = other.passengerInfo_ != null ? other.passengerInfo_.Clone() : null; unlockAreaNum_ = other.unlockAreaNum_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TrainPartyData Clone() { return new TrainPartyData(this); } /// Field number for the "CEFMBAFCNPK" field. public const int CEFMBAFCNPKFieldNumber = 5; private global::EggLink.DanhengServer.Proto.CDNGNDNLNAJ cEFMBAFCNPK_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.CDNGNDNLNAJ CEFMBAFCNPK { get { return cEFMBAFCNPK_; } set { cEFMBAFCNPK_ = value; } } /// Field number for the "AIANOFKNLHG" field. public const int AIANOFKNLHGFieldNumber = 11; private uint aIANOFKNLHG_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint AIANOFKNLHG { get { return aIANOFKNLHG_; } set { aIANOFKNLHG_ = value; } } /// Field number for the "train_party_info" field. public const int TrainPartyInfoFieldNumber = 7; private global::EggLink.DanhengServer.Proto.TrainPartyInfo trainPartyInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.TrainPartyInfo TrainPartyInfo { get { return trainPartyInfo_; } set { trainPartyInfo_ = value; } } /// Field number for the "record_id" field. public const int RecordIdFieldNumber = 8; private uint recordId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RecordId { get { return recordId_; } set { recordId_ = value; } } /// Field number for the "passenger_info" field. public const int PassengerInfoFieldNumber = 15; private global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo passengerInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo PassengerInfo { get { return passengerInfo_; } set { passengerInfo_ = value; } } /// Field number for the "unlock_area_num" field. public const int UnlockAreaNumFieldNumber = 10; private uint unlockAreaNum_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint UnlockAreaNum { get { return unlockAreaNum_; } set { unlockAreaNum_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as TrainPartyData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TrainPartyData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(CEFMBAFCNPK, other.CEFMBAFCNPK)) return false; if (AIANOFKNLHG != other.AIANOFKNLHG) return false; if (!object.Equals(TrainPartyInfo, other.TrainPartyInfo)) return false; if (RecordId != other.RecordId) return false; if (!object.Equals(PassengerInfo, other.PassengerInfo)) return false; if (UnlockAreaNum != other.UnlockAreaNum) 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 (cEFMBAFCNPK_ != null) hash ^= CEFMBAFCNPK.GetHashCode(); if (AIANOFKNLHG != 0) hash ^= AIANOFKNLHG.GetHashCode(); if (trainPartyInfo_ != null) hash ^= TrainPartyInfo.GetHashCode(); if (RecordId != 0) hash ^= RecordId.GetHashCode(); if (passengerInfo_ != null) hash ^= PassengerInfo.GetHashCode(); if (UnlockAreaNum != 0) hash ^= UnlockAreaNum.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 (cEFMBAFCNPK_ != null) { output.WriteRawTag(42); output.WriteMessage(CEFMBAFCNPK); } if (trainPartyInfo_ != null) { output.WriteRawTag(58); output.WriteMessage(TrainPartyInfo); } if (RecordId != 0) { output.WriteRawTag(64); output.WriteUInt32(RecordId); } if (UnlockAreaNum != 0) { output.WriteRawTag(80); output.WriteUInt32(UnlockAreaNum); } if (AIANOFKNLHG != 0) { output.WriteRawTag(88); output.WriteUInt32(AIANOFKNLHG); } if (passengerInfo_ != null) { output.WriteRawTag(122); output.WriteMessage(PassengerInfo); } 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 (cEFMBAFCNPK_ != null) { output.WriteRawTag(42); output.WriteMessage(CEFMBAFCNPK); } if (trainPartyInfo_ != null) { output.WriteRawTag(58); output.WriteMessage(TrainPartyInfo); } if (RecordId != 0) { output.WriteRawTag(64); output.WriteUInt32(RecordId); } if (UnlockAreaNum != 0) { output.WriteRawTag(80); output.WriteUInt32(UnlockAreaNum); } if (AIANOFKNLHG != 0) { output.WriteRawTag(88); output.WriteUInt32(AIANOFKNLHG); } if (passengerInfo_ != null) { output.WriteRawTag(122); output.WriteMessage(PassengerInfo); } 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 (cEFMBAFCNPK_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CEFMBAFCNPK); } if (AIANOFKNLHG != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AIANOFKNLHG); } if (trainPartyInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(TrainPartyInfo); } if (RecordId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RecordId); } if (passengerInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(PassengerInfo); } if (UnlockAreaNum != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UnlockAreaNum); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TrainPartyData other) { if (other == null) { return; } if (other.cEFMBAFCNPK_ != null) { if (cEFMBAFCNPK_ == null) { CEFMBAFCNPK = new global::EggLink.DanhengServer.Proto.CDNGNDNLNAJ(); } CEFMBAFCNPK.MergeFrom(other.CEFMBAFCNPK); } if (other.AIANOFKNLHG != 0) { AIANOFKNLHG = other.AIANOFKNLHG; } if (other.trainPartyInfo_ != null) { if (trainPartyInfo_ == null) { TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo(); } TrainPartyInfo.MergeFrom(other.TrainPartyInfo); } if (other.RecordId != 0) { RecordId = other.RecordId; } if (other.passengerInfo_ != null) { if (passengerInfo_ == null) { PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo(); } PassengerInfo.MergeFrom(other.PassengerInfo); } if (other.UnlockAreaNum != 0) { UnlockAreaNum = other.UnlockAreaNum; } _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 42: { if (cEFMBAFCNPK_ == null) { CEFMBAFCNPK = new global::EggLink.DanhengServer.Proto.CDNGNDNLNAJ(); } input.ReadMessage(CEFMBAFCNPK); break; } case 58: { if (trainPartyInfo_ == null) { TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo(); } input.ReadMessage(TrainPartyInfo); break; } case 64: { RecordId = input.ReadUInt32(); break; } case 80: { UnlockAreaNum = input.ReadUInt32(); break; } case 88: { AIANOFKNLHG = input.ReadUInt32(); break; } case 122: { if (passengerInfo_ == null) { PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo(); } input.ReadMessage(PassengerInfo); 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 42: { if (cEFMBAFCNPK_ == null) { CEFMBAFCNPK = new global::EggLink.DanhengServer.Proto.CDNGNDNLNAJ(); } input.ReadMessage(CEFMBAFCNPK); break; } case 58: { if (trainPartyInfo_ == null) { TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo(); } input.ReadMessage(TrainPartyInfo); break; } case 64: { RecordId = input.ReadUInt32(); break; } case 80: { UnlockAreaNum = input.ReadUInt32(); break; } case 88: { AIANOFKNLHG = input.ReadUInt32(); break; } case 122: { if (passengerInfo_ == null) { PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo(); } input.ReadMessage(PassengerInfo); break; } } } } #endif } #endregion } #endregion Designer generated code