Files
DanhengServer-OpenSource/Proto/TrainPartyGameGridInfo.cs
2025-03-01 21:18:11 +08:00

347 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TrainPartyGameGridInfo.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 TrainPartyGameGridInfo.proto</summary>
public static partial class TrainPartyGameGridInfoReflection {
#region Descriptor
/// <summary>File descriptor for TrainPartyGameGridInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static TrainPartyGameGridInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChxUcmFpblBhcnR5R2FtZUdyaWRJbmZvLnByb3RvGhFLQUNLSkpESk9OSS5w",
"cm90bxoYVHJhaW5QYXJ0eUdhbWVHcmlkLnByb3RvIo0BChZUcmFpblBhcnR5",
"R2FtZUdyaWRJbmZvEiEKC0dER0hDQkdITE5EGAQgASgLMgwuS0FDS0pKREpP",
"TkkSEwoLTExKRUZNUERKS0gYByABKA0SEwoLQklITUVMTUpIUE8YCCABKA0S",
"JgoJZ3JpZF9saXN0GA8gAygLMhMuVHJhaW5QYXJ0eUdhbWVHcmlkQh6qAhtF",
"Z2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.KACKJJDJONIReflection.Descriptor, global::EggLink.DanhengServer.Proto.TrainPartyGameGridReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.TrainPartyGameGridInfo), global::EggLink.DanhengServer.Proto.TrainPartyGameGridInfo.Parser, new[]{ "GDGHCBGHLND", "LLJEFMPDJKH", "BIHMELMJHPO", "GridList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TrainPartyGameGridInfo : pb::IMessage<TrainPartyGameGridInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TrainPartyGameGridInfo> _parser = new pb::MessageParser<TrainPartyGameGridInfo>(() => new TrainPartyGameGridInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TrainPartyGameGridInfo> 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.TrainPartyGameGridInfoReflection.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 TrainPartyGameGridInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TrainPartyGameGridInfo(TrainPartyGameGridInfo other) : this() {
gDGHCBGHLND_ = other.gDGHCBGHLND_ != null ? other.gDGHCBGHLND_.Clone() : null;
lLJEFMPDJKH_ = other.lLJEFMPDJKH_;
bIHMELMJHPO_ = other.bIHMELMJHPO_;
gridList_ = other.gridList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TrainPartyGameGridInfo Clone() {
return new TrainPartyGameGridInfo(this);
}
/// <summary>Field number for the "GDGHCBGHLND" field.</summary>
public const int GDGHCBGHLNDFieldNumber = 4;
private global::EggLink.DanhengServer.Proto.KACKJJDJONI gDGHCBGHLND_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.KACKJJDJONI GDGHCBGHLND {
get { return gDGHCBGHLND_; }
set {
gDGHCBGHLND_ = value;
}
}
/// <summary>Field number for the "LLJEFMPDJKH" field.</summary>
public const int LLJEFMPDJKHFieldNumber = 7;
private uint lLJEFMPDJKH_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint LLJEFMPDJKH {
get { return lLJEFMPDJKH_; }
set {
lLJEFMPDJKH_ = value;
}
}
/// <summary>Field number for the "BIHMELMJHPO" field.</summary>
public const int BIHMELMJHPOFieldNumber = 8;
private uint bIHMELMJHPO_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint BIHMELMJHPO {
get { return bIHMELMJHPO_; }
set {
bIHMELMJHPO_ = value;
}
}
/// <summary>Field number for the "grid_list" field.</summary>
public const int GridListFieldNumber = 15;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.TrainPartyGameGrid> _repeated_gridList_codec
= pb::FieldCodec.ForMessage(122, global::EggLink.DanhengServer.Proto.TrainPartyGameGrid.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.TrainPartyGameGrid> gridList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.TrainPartyGameGrid>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.TrainPartyGameGrid> GridList {
get { return gridList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TrainPartyGameGridInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TrainPartyGameGridInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(GDGHCBGHLND, other.GDGHCBGHLND)) return false;
if (LLJEFMPDJKH != other.LLJEFMPDJKH) return false;
if (BIHMELMJHPO != other.BIHMELMJHPO) return false;
if(!gridList_.Equals(other.gridList_)) 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 (gDGHCBGHLND_ != null) hash ^= GDGHCBGHLND.GetHashCode();
if (LLJEFMPDJKH != 0) hash ^= LLJEFMPDJKH.GetHashCode();
if (BIHMELMJHPO != 0) hash ^= BIHMELMJHPO.GetHashCode();
hash ^= gridList_.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 (gDGHCBGHLND_ != null) {
output.WriteRawTag(34);
output.WriteMessage(GDGHCBGHLND);
}
if (LLJEFMPDJKH != 0) {
output.WriteRawTag(56);
output.WriteUInt32(LLJEFMPDJKH);
}
if (BIHMELMJHPO != 0) {
output.WriteRawTag(64);
output.WriteUInt32(BIHMELMJHPO);
}
gridList_.WriteTo(output, _repeated_gridList_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 (gDGHCBGHLND_ != null) {
output.WriteRawTag(34);
output.WriteMessage(GDGHCBGHLND);
}
if (LLJEFMPDJKH != 0) {
output.WriteRawTag(56);
output.WriteUInt32(LLJEFMPDJKH);
}
if (BIHMELMJHPO != 0) {
output.WriteRawTag(64);
output.WriteUInt32(BIHMELMJHPO);
}
gridList_.WriteTo(ref output, _repeated_gridList_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;
if (gDGHCBGHLND_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GDGHCBGHLND);
}
if (LLJEFMPDJKH != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LLJEFMPDJKH);
}
if (BIHMELMJHPO != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BIHMELMJHPO);
}
size += gridList_.CalculateSize(_repeated_gridList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TrainPartyGameGridInfo other) {
if (other == null) {
return;
}
if (other.gDGHCBGHLND_ != null) {
if (gDGHCBGHLND_ == null) {
GDGHCBGHLND = new global::EggLink.DanhengServer.Proto.KACKJJDJONI();
}
GDGHCBGHLND.MergeFrom(other.GDGHCBGHLND);
}
if (other.LLJEFMPDJKH != 0) {
LLJEFMPDJKH = other.LLJEFMPDJKH;
}
if (other.BIHMELMJHPO != 0) {
BIHMELMJHPO = other.BIHMELMJHPO;
}
gridList_.Add(other.gridList_);
_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 34: {
if (gDGHCBGHLND_ == null) {
GDGHCBGHLND = new global::EggLink.DanhengServer.Proto.KACKJJDJONI();
}
input.ReadMessage(GDGHCBGHLND);
break;
}
case 56: {
LLJEFMPDJKH = input.ReadUInt32();
break;
}
case 64: {
BIHMELMJHPO = input.ReadUInt32();
break;
}
case 122: {
gridList_.AddEntriesFrom(input, _repeated_gridList_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 34: {
if (gDGHCBGHLND_ == null) {
GDGHCBGHLND = new global::EggLink.DanhengServer.Proto.KACKJJDJONI();
}
input.ReadMessage(GDGHCBGHLND);
break;
}
case 56: {
LLJEFMPDJKH = input.ReadUInt32();
break;
}
case 64: {
BIHMELMJHPO = input.ReadUInt32();
break;
}
case 122: {
gridList_.AddEntriesFrom(ref input, _repeated_gridList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code