Files
DanhengServer-OpenSource/Proto/CellInfo.cs
2024-12-07 14:00:38 +08:00

374 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: CellInfo.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 CellInfo.proto</summary>
public static partial class CellInfoReflection {
#region Descriptor
/// <summary>File descriptor for CellInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CellInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg5DZWxsSW5mby5wcm90bxoUQ2hlc3NSb2d1ZUNlbGwucHJvdG8iggEKCENl",
"bGxJbmZvEhMKC0dHS05KRE1GSklLGAQgASgNEhMKC0FNRU5PRElPQkxKGAsg",
"ASgNEhMKC0RHSUFDQUpNRUZOGAYgASgNEhMKC05BRkFQTUNLRkJCGAggASgN",
"EiIKCWNlbGxfbGlzdBgNIAMoCzIPLkNoZXNzUm9ndWVDZWxsQh6qAhtFZ2dM",
"aW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueCellReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.CellInfo), global::EggLink.DanhengServer.Proto.CellInfo.Parser, new[]{ "GGKNJDMFJIK", "AMENODIOBLJ", "DGIACAJMEFN", "NAFAPMCKFBB", "CellList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class CellInfo : pb::IMessage<CellInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<CellInfo> _parser = new pb::MessageParser<CellInfo>(() => new CellInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<CellInfo> 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.CellInfoReflection.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 CellInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CellInfo(CellInfo other) : this() {
gGKNJDMFJIK_ = other.gGKNJDMFJIK_;
aMENODIOBLJ_ = other.aMENODIOBLJ_;
dGIACAJMEFN_ = other.dGIACAJMEFN_;
nAFAPMCKFBB_ = other.nAFAPMCKFBB_;
cellList_ = other.cellList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CellInfo Clone() {
return new CellInfo(this);
}
/// <summary>Field number for the "GGKNJDMFJIK" field.</summary>
public const int GGKNJDMFJIKFieldNumber = 4;
private uint gGKNJDMFJIK_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GGKNJDMFJIK {
get { return gGKNJDMFJIK_; }
set {
gGKNJDMFJIK_ = value;
}
}
/// <summary>Field number for the "AMENODIOBLJ" field.</summary>
public const int AMENODIOBLJFieldNumber = 11;
private uint aMENODIOBLJ_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint AMENODIOBLJ {
get { return aMENODIOBLJ_; }
set {
aMENODIOBLJ_ = value;
}
}
/// <summary>Field number for the "DGIACAJMEFN" field.</summary>
public const int DGIACAJMEFNFieldNumber = 6;
private uint dGIACAJMEFN_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DGIACAJMEFN {
get { return dGIACAJMEFN_; }
set {
dGIACAJMEFN_ = value;
}
}
/// <summary>Field number for the "NAFAPMCKFBB" field.</summary>
public const int NAFAPMCKFBBFieldNumber = 8;
private uint nAFAPMCKFBB_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint NAFAPMCKFBB {
get { return nAFAPMCKFBB_; }
set {
nAFAPMCKFBB_ = value;
}
}
/// <summary>Field number for the "cell_list" field.</summary>
public const int CellListFieldNumber = 13;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChessRogueCell> _repeated_cellList_codec
= pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.ChessRogueCell.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChessRogueCell> cellList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChessRogueCell>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChessRogueCell> CellList {
get { return cellList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as CellInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(CellInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (GGKNJDMFJIK != other.GGKNJDMFJIK) return false;
if (AMENODIOBLJ != other.AMENODIOBLJ) return false;
if (DGIACAJMEFN != other.DGIACAJMEFN) return false;
if (NAFAPMCKFBB != other.NAFAPMCKFBB) return false;
if(!cellList_.Equals(other.cellList_)) 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 (GGKNJDMFJIK != 0) hash ^= GGKNJDMFJIK.GetHashCode();
if (AMENODIOBLJ != 0) hash ^= AMENODIOBLJ.GetHashCode();
if (DGIACAJMEFN != 0) hash ^= DGIACAJMEFN.GetHashCode();
if (NAFAPMCKFBB != 0) hash ^= NAFAPMCKFBB.GetHashCode();
hash ^= cellList_.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 (GGKNJDMFJIK != 0) {
output.WriteRawTag(32);
output.WriteUInt32(GGKNJDMFJIK);
}
if (DGIACAJMEFN != 0) {
output.WriteRawTag(48);
output.WriteUInt32(DGIACAJMEFN);
}
if (NAFAPMCKFBB != 0) {
output.WriteRawTag(64);
output.WriteUInt32(NAFAPMCKFBB);
}
if (AMENODIOBLJ != 0) {
output.WriteRawTag(88);
output.WriteUInt32(AMENODIOBLJ);
}
cellList_.WriteTo(output, _repeated_cellList_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 (GGKNJDMFJIK != 0) {
output.WriteRawTag(32);
output.WriteUInt32(GGKNJDMFJIK);
}
if (DGIACAJMEFN != 0) {
output.WriteRawTag(48);
output.WriteUInt32(DGIACAJMEFN);
}
if (NAFAPMCKFBB != 0) {
output.WriteRawTag(64);
output.WriteUInt32(NAFAPMCKFBB);
}
if (AMENODIOBLJ != 0) {
output.WriteRawTag(88);
output.WriteUInt32(AMENODIOBLJ);
}
cellList_.WriteTo(ref output, _repeated_cellList_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 (GGKNJDMFJIK != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GGKNJDMFJIK);
}
if (AMENODIOBLJ != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AMENODIOBLJ);
}
if (DGIACAJMEFN != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DGIACAJMEFN);
}
if (NAFAPMCKFBB != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NAFAPMCKFBB);
}
size += cellList_.CalculateSize(_repeated_cellList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(CellInfo other) {
if (other == null) {
return;
}
if (other.GGKNJDMFJIK != 0) {
GGKNJDMFJIK = other.GGKNJDMFJIK;
}
if (other.AMENODIOBLJ != 0) {
AMENODIOBLJ = other.AMENODIOBLJ;
}
if (other.DGIACAJMEFN != 0) {
DGIACAJMEFN = other.DGIACAJMEFN;
}
if (other.NAFAPMCKFBB != 0) {
NAFAPMCKFBB = other.NAFAPMCKFBB;
}
cellList_.Add(other.cellList_);
_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 32: {
GGKNJDMFJIK = input.ReadUInt32();
break;
}
case 48: {
DGIACAJMEFN = input.ReadUInt32();
break;
}
case 64: {
NAFAPMCKFBB = input.ReadUInt32();
break;
}
case 88: {
AMENODIOBLJ = input.ReadUInt32();
break;
}
case 106: {
cellList_.AddEntriesFrom(input, _repeated_cellList_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 32: {
GGKNJDMFJIK = input.ReadUInt32();
break;
}
case 48: {
DGIACAJMEFN = input.ReadUInt32();
break;
}
case 64: {
NAFAPMCKFBB = input.ReadUInt32();
break;
}
case 88: {
AMENODIOBLJ = input.ReadUInt32();
break;
}
case 106: {
cellList_.AddEntriesFrom(ref input, _repeated_cellList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code