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(
|
|
"ChRUcmFpblBhcnR5RGF0YS5wcm90bxoYVHJhaW5QYXJ0eUdhbWVJbmZvLnBy",
|
|
"b3RvGh1UcmFpblBhcnR5UGFzc2VuZ2VySW5mby5wcm90bxoUVHJhaW5QYXJ0",
|
|
"eUluZm8ucHJvdG8i4gEKDlRyYWluUGFydHlEYXRhEhcKD3VubG9ja19hcmVh",
|
|
"X251bRgOIAEoDRIRCglyZWNvcmRfaWQYCyABKA0SKQoQdHJhaW5fcGFydHlf",
|
|
"aW5mbxgMIAEoCzIPLlRyYWluUGFydHlJbmZvEjAKDnBhc3Nlbmdlcl9pbmZv",
|
|
"GAEgASgLMhguVHJhaW5QYXJ0eVBhc3NlbmdlckluZm8SMgoVdHJhaW5fcGFy",
|
|
"dHlfZ2FtZV9pbmZvGAogASgLMhMuVHJhaW5QYXJ0eUdhbWVJbmZvEhMKC0FJ",
|
|
"QU5PRktOTEhHGAggASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJv",
|
|
"dG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.TrainPartyGameInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.TrainPartyInfoReflection.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[]{ "UnlockAreaNum", "RecordId", "TrainPartyInfo", "PassengerInfo", "TrainPartyGameInfo", "AIANOFKNLHG" }, 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() {
|
|
unlockAreaNum_ = other.unlockAreaNum_;
|
|
recordId_ = other.recordId_;
|
|
trainPartyInfo_ = other.trainPartyInfo_ != null ? other.trainPartyInfo_.Clone() : null;
|
|
passengerInfo_ = other.passengerInfo_ != null ? other.passengerInfo_.Clone() : null;
|
|
trainPartyGameInfo_ = other.trainPartyGameInfo_ != null ? other.trainPartyGameInfo_.Clone() : null;
|
|
aIANOFKNLHG_ = other.aIANOFKNLHG_;
|
|
_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 "unlock_area_num" field.</summary>
|
|
public const int UnlockAreaNumFieldNumber = 14;
|
|
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 "record_id" field.</summary>
|
|
public const int RecordIdFieldNumber = 11;
|
|
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 "train_party_info" field.</summary>
|
|
public const int TrainPartyInfoFieldNumber = 12;
|
|
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 "passenger_info" field.</summary>
|
|
public const int PassengerInfoFieldNumber = 1;
|
|
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 = 10;
|
|
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 "AIANOFKNLHG" field.</summary>
|
|
public const int AIANOFKNLHGFieldNumber = 8;
|
|
private uint aIANOFKNLHG_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint AIANOFKNLHG {
|
|
get { return aIANOFKNLHG_; }
|
|
set {
|
|
aIANOFKNLHG_ = 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 (UnlockAreaNum != other.UnlockAreaNum) return false;
|
|
if (RecordId != other.RecordId) return false;
|
|
if (!object.Equals(TrainPartyInfo, other.TrainPartyInfo)) return false;
|
|
if (!object.Equals(PassengerInfo, other.PassengerInfo)) return false;
|
|
if (!object.Equals(TrainPartyGameInfo, other.TrainPartyGameInfo)) return false;
|
|
if (AIANOFKNLHG != other.AIANOFKNLHG) 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 (UnlockAreaNum != 0) hash ^= UnlockAreaNum.GetHashCode();
|
|
if (RecordId != 0) hash ^= RecordId.GetHashCode();
|
|
if (trainPartyInfo_ != null) hash ^= TrainPartyInfo.GetHashCode();
|
|
if (passengerInfo_ != null) hash ^= PassengerInfo.GetHashCode();
|
|
if (trainPartyGameInfo_ != null) hash ^= TrainPartyGameInfo.GetHashCode();
|
|
if (AIANOFKNLHG != 0) hash ^= AIANOFKNLHG.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(10);
|
|
output.WriteMessage(PassengerInfo);
|
|
}
|
|
if (AIANOFKNLHG != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(AIANOFKNLHG);
|
|
}
|
|
if (trainPartyGameInfo_ != null) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(TrainPartyGameInfo);
|
|
}
|
|
if (RecordId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(RecordId);
|
|
}
|
|
if (trainPartyInfo_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(TrainPartyInfo);
|
|
}
|
|
if (UnlockAreaNum != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(UnlockAreaNum);
|
|
}
|
|
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(10);
|
|
output.WriteMessage(PassengerInfo);
|
|
}
|
|
if (AIANOFKNLHG != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(AIANOFKNLHG);
|
|
}
|
|
if (trainPartyGameInfo_ != null) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(TrainPartyGameInfo);
|
|
}
|
|
if (RecordId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(RecordId);
|
|
}
|
|
if (trainPartyInfo_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(TrainPartyInfo);
|
|
}
|
|
if (UnlockAreaNum != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(UnlockAreaNum);
|
|
}
|
|
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 (UnlockAreaNum != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UnlockAreaNum);
|
|
}
|
|
if (RecordId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RecordId);
|
|
}
|
|
if (trainPartyInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TrainPartyInfo);
|
|
}
|
|
if (passengerInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PassengerInfo);
|
|
}
|
|
if (trainPartyGameInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TrainPartyGameInfo);
|
|
}
|
|
if (AIANOFKNLHG != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AIANOFKNLHG);
|
|
}
|
|
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.UnlockAreaNum != 0) {
|
|
UnlockAreaNum = other.UnlockAreaNum;
|
|
}
|
|
if (other.RecordId != 0) {
|
|
RecordId = other.RecordId;
|
|
}
|
|
if (other.trainPartyInfo_ != null) {
|
|
if (trainPartyInfo_ == null) {
|
|
TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo();
|
|
}
|
|
TrainPartyInfo.MergeFrom(other.TrainPartyInfo);
|
|
}
|
|
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.AIANOFKNLHG != 0) {
|
|
AIANOFKNLHG = other.AIANOFKNLHG;
|
|
}
|
|
_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 10: {
|
|
if (passengerInfo_ == null) {
|
|
PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo();
|
|
}
|
|
input.ReadMessage(PassengerInfo);
|
|
break;
|
|
}
|
|
case 64: {
|
|
AIANOFKNLHG = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (trainPartyGameInfo_ == null) {
|
|
TrainPartyGameInfo = new global::EggLink.DanhengServer.Proto.TrainPartyGameInfo();
|
|
}
|
|
input.ReadMessage(TrainPartyGameInfo);
|
|
break;
|
|
}
|
|
case 88: {
|
|
RecordId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (trainPartyInfo_ == null) {
|
|
TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo();
|
|
}
|
|
input.ReadMessage(TrainPartyInfo);
|
|
break;
|
|
}
|
|
case 112: {
|
|
UnlockAreaNum = 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 10: {
|
|
if (passengerInfo_ == null) {
|
|
PassengerInfo = new global::EggLink.DanhengServer.Proto.TrainPartyPassengerInfo();
|
|
}
|
|
input.ReadMessage(PassengerInfo);
|
|
break;
|
|
}
|
|
case 64: {
|
|
AIANOFKNLHG = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (trainPartyGameInfo_ == null) {
|
|
TrainPartyGameInfo = new global::EggLink.DanhengServer.Proto.TrainPartyGameInfo();
|
|
}
|
|
input.ReadMessage(TrainPartyGameInfo);
|
|
break;
|
|
}
|
|
case 88: {
|
|
RecordId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (trainPartyInfo_ == null) {
|
|
TrainPartyInfo = new global::EggLink.DanhengServer.Proto.TrainPartyInfo();
|
|
}
|
|
input.ReadMessage(TrainPartyInfo);
|
|
break;
|
|
}
|
|
case 112: {
|
|
UnlockAreaNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|