mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
377 lines
14 KiB
C#
377 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: TrainVisitorInfo.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 TrainVisitorInfo.proto</summary>
|
|
public static partial class TrainVisitorInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for TrainVisitorInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static TrainVisitorInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChZUcmFpblZpc2l0b3JJbmZvLnByb3RvGhhUcmFpblZpc2l0b3JTdGF0dXMu",
|
|
"cHJvdG8iiwEKEFRyYWluVmlzaXRvckluZm8SEwoLTU5QSFBHTEpNUEIYCyAD",
|
|
"KA0SEwoLSk9BSUpNR01HRlAYCCABKA0SEwoLTExJTEtFSk9BS0kYBiABKAgS",
|
|
"EwoLRElQQk9FTE9OTE4YAyABKA0SIwoGc3RhdHVzGAogASgOMhMuVHJhaW5W",
|
|
"aXNpdG9yU3RhdHVzQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i",
|
|
"BnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.TrainVisitorStatusReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TrainVisitorInfo), global::EggLink.DanhengServer.Proto.TrainVisitorInfo.Parser, new[]{ "MNPHPGLJMPB", "JOAIJMGMGFP", "LLILKEJOAKI", "DIPBOELONLN", "Status" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class TrainVisitorInfo : pb::IMessage<TrainVisitorInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<TrainVisitorInfo> _parser = new pb::MessageParser<TrainVisitorInfo>(() => new TrainVisitorInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<TrainVisitorInfo> 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.TrainVisitorInfoReflection.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 TrainVisitorInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public TrainVisitorInfo(TrainVisitorInfo other) : this() {
|
|
mNPHPGLJMPB_ = other.mNPHPGLJMPB_.Clone();
|
|
jOAIJMGMGFP_ = other.jOAIJMGMGFP_;
|
|
lLILKEJOAKI_ = other.lLILKEJOAKI_;
|
|
dIPBOELONLN_ = other.dIPBOELONLN_;
|
|
status_ = other.status_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public TrainVisitorInfo Clone() {
|
|
return new TrainVisitorInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "MNPHPGLJMPB" field.</summary>
|
|
public const int MNPHPGLJMPBFieldNumber = 11;
|
|
private static readonly pb::FieldCodec<uint> _repeated_mNPHPGLJMPB_codec
|
|
= pb::FieldCodec.ForUInt32(90);
|
|
private readonly pbc::RepeatedField<uint> mNPHPGLJMPB_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> MNPHPGLJMPB {
|
|
get { return mNPHPGLJMPB_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "JOAIJMGMGFP" field.</summary>
|
|
public const int JOAIJMGMGFPFieldNumber = 8;
|
|
private uint jOAIJMGMGFP_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint JOAIJMGMGFP {
|
|
get { return jOAIJMGMGFP_; }
|
|
set {
|
|
jOAIJMGMGFP_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "LLILKEJOAKI" field.</summary>
|
|
public const int LLILKEJOAKIFieldNumber = 6;
|
|
private bool lLILKEJOAKI_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool LLILKEJOAKI {
|
|
get { return lLILKEJOAKI_; }
|
|
set {
|
|
lLILKEJOAKI_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DIPBOELONLN" field.</summary>
|
|
public const int DIPBOELONLNFieldNumber = 3;
|
|
private uint dIPBOELONLN_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint DIPBOELONLN {
|
|
get { return dIPBOELONLN_; }
|
|
set {
|
|
dIPBOELONLN_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "status" field.</summary>
|
|
public const int StatusFieldNumber = 10;
|
|
private global::EggLink.DanhengServer.Proto.TrainVisitorStatus status_ = global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.TrainVisitorStatus Status {
|
|
get { return status_; }
|
|
set {
|
|
status_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as TrainVisitorInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(TrainVisitorInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!mNPHPGLJMPB_.Equals(other.mNPHPGLJMPB_)) return false;
|
|
if (JOAIJMGMGFP != other.JOAIJMGMGFP) return false;
|
|
if (LLILKEJOAKI != other.LLILKEJOAKI) return false;
|
|
if (DIPBOELONLN != other.DIPBOELONLN) return false;
|
|
if (Status != other.Status) 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;
|
|
hash ^= mNPHPGLJMPB_.GetHashCode();
|
|
if (JOAIJMGMGFP != 0) hash ^= JOAIJMGMGFP.GetHashCode();
|
|
if (LLILKEJOAKI != false) hash ^= LLILKEJOAKI.GetHashCode();
|
|
if (DIPBOELONLN != 0) hash ^= DIPBOELONLN.GetHashCode();
|
|
if (Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) hash ^= Status.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 (DIPBOELONLN != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(DIPBOELONLN);
|
|
}
|
|
if (LLILKEJOAKI != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(LLILKEJOAKI);
|
|
}
|
|
if (JOAIJMGMGFP != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(JOAIJMGMGFP);
|
|
}
|
|
if (Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) {
|
|
output.WriteRawTag(80);
|
|
output.WriteEnum((int) Status);
|
|
}
|
|
mNPHPGLJMPB_.WriteTo(output, _repeated_mNPHPGLJMPB_codec);
|
|
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 (DIPBOELONLN != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(DIPBOELONLN);
|
|
}
|
|
if (LLILKEJOAKI != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(LLILKEJOAKI);
|
|
}
|
|
if (JOAIJMGMGFP != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(JOAIJMGMGFP);
|
|
}
|
|
if (Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) {
|
|
output.WriteRawTag(80);
|
|
output.WriteEnum((int) Status);
|
|
}
|
|
mNPHPGLJMPB_.WriteTo(ref output, _repeated_mNPHPGLJMPB_codec);
|
|
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;
|
|
size += mNPHPGLJMPB_.CalculateSize(_repeated_mNPHPGLJMPB_codec);
|
|
if (JOAIJMGMGFP != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JOAIJMGMGFP);
|
|
}
|
|
if (LLILKEJOAKI != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (DIPBOELONLN != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DIPBOELONLN);
|
|
}
|
|
if (Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(TrainVisitorInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
mNPHPGLJMPB_.Add(other.mNPHPGLJMPB_);
|
|
if (other.JOAIJMGMGFP != 0) {
|
|
JOAIJMGMGFP = other.JOAIJMGMGFP;
|
|
}
|
|
if (other.LLILKEJOAKI != false) {
|
|
LLILKEJOAKI = other.LLILKEJOAKI;
|
|
}
|
|
if (other.DIPBOELONLN != 0) {
|
|
DIPBOELONLN = other.DIPBOELONLN;
|
|
}
|
|
if (other.Status != global::EggLink.DanhengServer.Proto.TrainVisitorStatus.None) {
|
|
Status = other.Status;
|
|
}
|
|
_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: {
|
|
DIPBOELONLN = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
LLILKEJOAKI = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
JOAIJMGMGFP = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
Status = (global::EggLink.DanhengServer.Proto.TrainVisitorStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
mNPHPGLJMPB_.AddEntriesFrom(input, _repeated_mNPHPGLJMPB_codec);
|
|
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: {
|
|
DIPBOELONLN = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
LLILKEJOAKI = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
JOAIJMGMGFP = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
Status = (global::EggLink.DanhengServer.Proto.TrainVisitorStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
mNPHPGLJMPB_.AddEntriesFrom(ref input, _repeated_mNPHPGLJMPB_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|