mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
453 lines
17 KiB
C#
453 lines
17 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(
|
|
"ChRUcmFpblBhcnR5RGF0YS5wcm90bxodVHJhaW5QYXJ0eVBhc3Nlbmdlcklu",
|
|
"Zm8ucHJvdG8aFFRyYWluUGFydHlJbmZvLnByb3RvGhhUcmFpblBhcnR5R2Ft",
|
|
"ZUluZm8ucHJvdG8i3gEKDlRyYWluUGFydHlEYXRhEjAKDnBhc3Nlbmdlcl9p",
|
|
"bmZvGAIgASgLMhguVHJhaW5QYXJ0eVBhc3NlbmdlckluZm8SMgoVdHJhaW5f",
|
|
"cGFydHlfZ2FtZV9pbmZvGAMgASgLMhMuVHJhaW5QYXJ0eUdhbWVJbmZvEhMK",
|
|
"C0xBR0hBUElLQklEGAYgASgNEikKEHRyYWluX3BhcnR5X2luZm8YCCABKAsy",
|
|
"Dy5UcmFpblBhcnR5SW5mbxITCgtDTUdNR05PTUpGThgEIAEoDRIRCglyZWNv",
|
|
"cmRfaWQYCSABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IG",
|
|
"cHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.TrainPartyInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.TrainPartyGameInfoReflection.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[]{ "PassengerInfo", "TrainPartyGameInfo", "LAGHAPIKBID", "TrainPartyInfo", "CMGMGNOMJFN", "RecordId" }, 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() {
|
|
passengerInfo_ = other.passengerInfo_ != null ? other.passengerInfo_.Clone() : null;
|
|
trainPartyGameInfo_ = other.trainPartyGameInfo_ != null ? other.trainPartyGameInfo_.Clone() : null;
|
|
lAGHAPIKBID_ = other.lAGHAPIKBID_;
|
|
trainPartyInfo_ = other.trainPartyInfo_ != null ? other.trainPartyInfo_.Clone() : null;
|
|
cMGMGNOMJFN_ = other.cMGMGNOMJFN_;
|
|
recordId_ = other.recordId_;
|
|
_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 "passenger_info" field.</summary>
|
|
public const int PassengerInfoFieldNumber = 2;
|
|
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 "train_party_game_info" field.</summary>
|
|
public const int TrainPartyGameInfoFieldNumber = 3;
|
|
private global::EggLink.DanhengServer.Proto.TrainPartyGameInfo trainPartyGameInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.TrainPartyGameInfo TrainPartyGameInfo {
|
|
get { return trainPartyGameInfo_; }
|
|
set {
|
|
trainPartyGameInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "LAGHAPIKBID" field.</summary>
|
|
public const int LAGHAPIKBIDFieldNumber = 6;
|
|
private uint lAGHAPIKBID_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint LAGHAPIKBID {
|
|
get { return lAGHAPIKBID_; }
|
|
set {
|
|
lAGHAPIKBID_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "train_party_info" field.</summary>
|
|
public const int TrainPartyInfoFieldNumber = 8;
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "CMGMGNOMJFN" field.</summary>
|
|
public const int CMGMGNOMJFNFieldNumber = 4;
|
|
private uint cMGMGNOMJFN_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CMGMGNOMJFN {
|
|
get { return cMGMGNOMJFN_; }
|
|
set {
|
|
cMGMGNOMJFN_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "record_id" field.</summary>
|
|
public const int RecordIdFieldNumber = 9;
|
|
private uint recordId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint RecordId {
|
|
get { return recordId_; }
|
|
set {
|
|
recordId_ = 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(PassengerInfo, other.PassengerInfo)) return false;
|
|
if (!object.Equals(TrainPartyGameInfo, other.TrainPartyGameInfo)) return false;
|
|
if (LAGHAPIKBID != other.LAGHAPIKBID) return false;
|
|
if (!object.Equals(TrainPartyInfo, other.TrainPartyInfo)) return false;
|
|
if (CMGMGNOMJFN != other.CMGMGNOMJFN) return false;
|
|
if (RecordId != other.RecordId) 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 (passengerInfo_ != null) hash ^= PassengerInfo.GetHashCode();
|
|
if (trainPartyGameInfo_ != null) hash ^= TrainPartyGameInfo.GetHashCode();
|
|
if (LAGHAPIKBID != 0) hash ^= LAGHAPIKBID.GetHashCode();
|
|
if (trainPartyInfo_ != null) hash ^= TrainPartyInfo.GetHashCode();
|
|
if (CMGMGNOMJFN != 0) hash ^= CMGMGNOMJFN.GetHashCode();
|
|
if (RecordId != 0) hash ^= RecordId.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 (passengerInfo_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(PassengerInfo);
|
|
}
|
|
if (trainPartyGameInfo_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(TrainPartyGameInfo);
|
|
}
|
|
if (CMGMGNOMJFN != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(CMGMGNOMJFN);
|
|
}
|
|
if (LAGHAPIKBID != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(LAGHAPIKBID);
|
|
}
|
|
if (trainPartyInfo_ != null) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(TrainPartyInfo);
|
|
}
|
|
if (RecordId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(RecordId);
|
|
}
|
|
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 (passengerInfo_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(PassengerInfo);
|
|
}
|
|
if (trainPartyGameInfo_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(TrainPartyGameInfo);
|
|
}
|
|
if (CMGMGNOMJFN != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(CMGMGNOMJFN);
|
|
}
|
|
if (LAGHAPIKBID != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(LAGHAPIKBID);
|
|
}
|
|
if (trainPartyInfo_ != null) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(TrainPartyInfo);
|
|
}
|
|
if (RecordId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(RecordId);
|
|
}
|
|
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 (passengerInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PassengerInfo);
|
|
}
|
|
if (trainPartyGameInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TrainPartyGameInfo);
|
|
}
|
|
if (LAGHAPIKBID != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LAGHAPIKBID);
|
|
}
|
|
if (trainPartyInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TrainPartyInfo);
|
|
}
|
|
if (CMGMGNOMJFN != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CMGMGNOMJFN);
|
|
}
|
|
if (RecordId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RecordId);
|
|
}
|
|
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.passengerInfo_ != null) {
|
|
if (passengerInfo_ == null) {
|
|
PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo();
|
|
}
|
|
PassengerInfo.MergeFrom(other.PassengerInfo);
|
|
}
|
|
if (other.trainPartyGameInfo_ != null) {
|
|
if (trainPartyGameInfo_ == null) {
|
|
TrainPartyGameInfo = new global::EggLink.DanhengServer.Proto.TrainPartyGameInfo();
|
|
}
|
|
TrainPartyGameInfo.MergeFrom(other.TrainPartyGameInfo);
|
|
}
|
|
if (other.LAGHAPIKBID != 0) {
|
|
LAGHAPIKBID = other.LAGHAPIKBID;
|
|
}
|
|
if (other.trainPartyInfo_ != null) {
|
|
if (trainPartyInfo_ == null) {
|
|
TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo();
|
|
}
|
|
TrainPartyInfo.MergeFrom(other.TrainPartyInfo);
|
|
}
|
|
if (other.CMGMGNOMJFN != 0) {
|
|
CMGMGNOMJFN = other.CMGMGNOMJFN;
|
|
}
|
|
if (other.RecordId != 0) {
|
|
RecordId = other.RecordId;
|
|
}
|
|
_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: {
|
|
if (passengerInfo_ == null) {
|
|
PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo();
|
|
}
|
|
input.ReadMessage(PassengerInfo);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (trainPartyGameInfo_ == null) {
|
|
TrainPartyGameInfo = new global::EggLink.DanhengServer.Proto.TrainPartyGameInfo();
|
|
}
|
|
input.ReadMessage(TrainPartyGameInfo);
|
|
break;
|
|
}
|
|
case 32: {
|
|
CMGMGNOMJFN = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
LAGHAPIKBID = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
if (trainPartyInfo_ == null) {
|
|
TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo();
|
|
}
|
|
input.ReadMessage(TrainPartyInfo);
|
|
break;
|
|
}
|
|
case 72: {
|
|
RecordId = 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: {
|
|
if (passengerInfo_ == null) {
|
|
PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo();
|
|
}
|
|
input.ReadMessage(PassengerInfo);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (trainPartyGameInfo_ == null) {
|
|
TrainPartyGameInfo = new global::EggLink.DanhengServer.Proto.TrainPartyGameInfo();
|
|
}
|
|
input.ReadMessage(TrainPartyGameInfo);
|
|
break;
|
|
}
|
|
case 32: {
|
|
CMGMGNOMJFN = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
LAGHAPIKBID = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
if (trainPartyInfo_ == null) {
|
|
TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo();
|
|
}
|
|
input.ReadMessage(TrainPartyInfo);
|
|
break;
|
|
}
|
|
case 72: {
|
|
RecordId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|