mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
452 lines
16 KiB
C#
452 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: TrainPartyData.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 TrainPartyData.proto</summary>
|
|
public static partial class TrainPartyDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for TrainPartyData.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static TrainPartyDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChRUcmFpblBhcnR5RGF0YS5wcm90bxoRQ0ROR05ETkxOQUoucHJvdG8aFFRy",
|
|
"YWluUGFydHlJbmZvLnByb3RvGh1UcmFpblBhcnR5UGFzc2VuZ2VySW5mby5w",
|
|
"cm90byLRAQoOVHJhaW5QYXJ0eURhdGESIQoLQ0VGTUJBRkNOUEsYBSABKAsy",
|
|
"DC5DRE5HTkROTE5BShIwCg5wYXNzZW5nZXJfaW5mbxgLIAEoCzIYLlRyYWlu",
|
|
"UGFydHlQYXNzZW5nZXJJbmZvEhEKCXJlY29yZF9pZBgDIAEoDRIXCg91bmxv",
|
|
"Y2tfYXJlYV9udW0YAiABKA0SEwoLQUlBTk9GS05MSEcYByABKA0SKQoQdHJh",
|
|
"aW5fcGFydHlfaW5mbxgPIAEoCzIPLlRyYWluUGFydHlJbmZvQh6qAhtFZ2dM",
|
|
"aW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.CDNGNDNLNAJReflection.Descriptor, global::EggLink.DanhengServer.Proto.TrainPartyInfoReflection.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", "PassengerInfo", "RecordId", "UnlockAreaNum", "AIANOFKNLHG", "TrainPartyInfo" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class TrainPartyData : pb::IMessage<TrainPartyData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<TrainPartyData> _parser = new pb::MessageParser<TrainPartyData>(() => new TrainPartyData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<TrainPartyData> 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;
|
|
passengerInfo_ = other.passengerInfo_ != null ? other.passengerInfo_.Clone() : null;
|
|
recordId_ = other.recordId_;
|
|
unlockAreaNum_ = other.unlockAreaNum_;
|
|
aIANOFKNLHG_ = other.aIANOFKNLHG_;
|
|
trainPartyInfo_ = other.trainPartyInfo_ != null ? other.trainPartyInfo_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public TrainPartyData Clone() {
|
|
return new TrainPartyData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "CEFMBAFCNPK" field.</summary>
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "passenger_info" field.</summary>
|
|
public const int PassengerInfoFieldNumber = 11;
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "record_id" field.</summary>
|
|
public const int RecordIdFieldNumber = 3;
|
|
private uint recordId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint RecordId {
|
|
get { return recordId_; }
|
|
set {
|
|
recordId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "unlock_area_num" field.</summary>
|
|
public const int UnlockAreaNumFieldNumber = 2;
|
|
private uint unlockAreaNum_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint UnlockAreaNum {
|
|
get { return unlockAreaNum_; }
|
|
set {
|
|
unlockAreaNum_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "AIANOFKNLHG" field.</summary>
|
|
public const int AIANOFKNLHGFieldNumber = 7;
|
|
private uint aIANOFKNLHG_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint AIANOFKNLHG {
|
|
get { return aIANOFKNLHG_; }
|
|
set {
|
|
aIANOFKNLHG_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "train_party_info" field.</summary>
|
|
public const int TrainPartyInfoFieldNumber = 15;
|
|
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;
|
|
}
|
|
}
|
|
|
|
[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 (!object.Equals(PassengerInfo, other.PassengerInfo)) return false;
|
|
if (RecordId != other.RecordId) return false;
|
|
if (UnlockAreaNum != other.UnlockAreaNum) return false;
|
|
if (AIANOFKNLHG != other.AIANOFKNLHG) return false;
|
|
if (!object.Equals(TrainPartyInfo, other.TrainPartyInfo)) 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 (passengerInfo_ != null) hash ^= PassengerInfo.GetHashCode();
|
|
if (RecordId != 0) hash ^= RecordId.GetHashCode();
|
|
if (UnlockAreaNum != 0) hash ^= UnlockAreaNum.GetHashCode();
|
|
if (AIANOFKNLHG != 0) hash ^= AIANOFKNLHG.GetHashCode();
|
|
if (trainPartyInfo_ != null) hash ^= TrainPartyInfo.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 (UnlockAreaNum != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(UnlockAreaNum);
|
|
}
|
|
if (RecordId != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(RecordId);
|
|
}
|
|
if (cEFMBAFCNPK_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(CEFMBAFCNPK);
|
|
}
|
|
if (AIANOFKNLHG != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(AIANOFKNLHG);
|
|
}
|
|
if (passengerInfo_ != null) {
|
|
output.WriteRawTag(90);
|
|
output.WriteMessage(PassengerInfo);
|
|
}
|
|
if (trainPartyInfo_ != null) {
|
|
output.WriteRawTag(122);
|
|
output.WriteMessage(TrainPartyInfo);
|
|
}
|
|
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 (UnlockAreaNum != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(UnlockAreaNum);
|
|
}
|
|
if (RecordId != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(RecordId);
|
|
}
|
|
if (cEFMBAFCNPK_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(CEFMBAFCNPK);
|
|
}
|
|
if (AIANOFKNLHG != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(AIANOFKNLHG);
|
|
}
|
|
if (passengerInfo_ != null) {
|
|
output.WriteRawTag(90);
|
|
output.WriteMessage(PassengerInfo);
|
|
}
|
|
if (trainPartyInfo_ != null) {
|
|
output.WriteRawTag(122);
|
|
output.WriteMessage(TrainPartyInfo);
|
|
}
|
|
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 (passengerInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PassengerInfo);
|
|
}
|
|
if (RecordId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RecordId);
|
|
}
|
|
if (UnlockAreaNum != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UnlockAreaNum);
|
|
}
|
|
if (AIANOFKNLHG != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AIANOFKNLHG);
|
|
}
|
|
if (trainPartyInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TrainPartyInfo);
|
|
}
|
|
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.passengerInfo_ != null) {
|
|
if (passengerInfo_ == null) {
|
|
PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo();
|
|
}
|
|
PassengerInfo.MergeFrom(other.PassengerInfo);
|
|
}
|
|
if (other.RecordId != 0) {
|
|
RecordId = other.RecordId;
|
|
}
|
|
if (other.UnlockAreaNum != 0) {
|
|
UnlockAreaNum = other.UnlockAreaNum;
|
|
}
|
|
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);
|
|
}
|
|
_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 16: {
|
|
UnlockAreaNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
RecordId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (cEFMBAFCNPK_ == null) {
|
|
CEFMBAFCNPK = new global::EggLink.DanhengServer.Proto.CDNGNDNLNAJ();
|
|
}
|
|
input.ReadMessage(CEFMBAFCNPK);
|
|
break;
|
|
}
|
|
case 56: {
|
|
AIANOFKNLHG = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
if (passengerInfo_ == null) {
|
|
PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo();
|
|
}
|
|
input.ReadMessage(PassengerInfo);
|
|
break;
|
|
}
|
|
case 122: {
|
|
if (trainPartyInfo_ == null) {
|
|
TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo();
|
|
}
|
|
input.ReadMessage(TrainPartyInfo);
|
|
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 16: {
|
|
UnlockAreaNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
RecordId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (cEFMBAFCNPK_ == null) {
|
|
CEFMBAFCNPK = new global::EggLink.DanhengServer.Proto.CDNGNDNLNAJ();
|
|
}
|
|
input.ReadMessage(CEFMBAFCNPK);
|
|
break;
|
|
}
|
|
case 56: {
|
|
AIANOFKNLHG = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
if (passengerInfo_ == null) {
|
|
PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo();
|
|
}
|
|
input.ReadMessage(PassengerInfo);
|
|
break;
|
|
}
|
|
case 122: {
|
|
if (trainPartyInfo_ == null) {
|
|
TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo();
|
|
}
|
|
input.ReadMessage(TrainPartyInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|