Files
DanhengServer-OpenSource/Proto/CellInfo.cs
2025-08-15 12:52:47 +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",
"bGxJbmZvEhMKC0hMQU1JQ0xHUEVFGAMgASgNEhMKC05HSFBQRUdCUEFPGAQg",
"ASgNEhMKC0JNQUpESUxCUE9CGAsgASgNEiIKCWNlbGxfbGlzdBgBIAMoCzIP",
"LkNoZXNzUm9ndWVDZWxsEhMKC0hESElPTkdPRklEGAggASgNQh6qAhtFZ2dM",
"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[]{ "HLAMICLGPEE", "NGHPPEGBPAO", "BMAJDILBPOB", "CellList", "HDHIONGOFID" }, 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() {
hLAMICLGPEE_ = other.hLAMICLGPEE_;
nGHPPEGBPAO_ = other.nGHPPEGBPAO_;
bMAJDILBPOB_ = other.bMAJDILBPOB_;
cellList_ = other.cellList_.Clone();
hDHIONGOFID_ = other.hDHIONGOFID_;
_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 "HLAMICLGPEE" field.</summary>
public const int HLAMICLGPEEFieldNumber = 3;
private uint hLAMICLGPEE_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint HLAMICLGPEE {
get { return hLAMICLGPEE_; }
set {
hLAMICLGPEE_ = value;
}
}
/// <summary>Field number for the "NGHPPEGBPAO" field.</summary>
public const int NGHPPEGBPAOFieldNumber = 4;
private uint nGHPPEGBPAO_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint NGHPPEGBPAO {
get { return nGHPPEGBPAO_; }
set {
nGHPPEGBPAO_ = value;
}
}
/// <summary>Field number for the "BMAJDILBPOB" field.</summary>
public const int BMAJDILBPOBFieldNumber = 11;
private uint bMAJDILBPOB_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint BMAJDILBPOB {
get { return bMAJDILBPOB_; }
set {
bMAJDILBPOB_ = value;
}
}
/// <summary>Field number for the "cell_list" field.</summary>
public const int CellListFieldNumber = 1;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChessRogueCell> _repeated_cellList_codec
= pb::FieldCodec.ForMessage(10, 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_; }
}
/// <summary>Field number for the "HDHIONGOFID" field.</summary>
public const int HDHIONGOFIDFieldNumber = 8;
private uint hDHIONGOFID_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint HDHIONGOFID {
get { return hDHIONGOFID_; }
set {
hDHIONGOFID_ = value;
}
}
[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 (HLAMICLGPEE != other.HLAMICLGPEE) return false;
if (NGHPPEGBPAO != other.NGHPPEGBPAO) return false;
if (BMAJDILBPOB != other.BMAJDILBPOB) return false;
if(!cellList_.Equals(other.cellList_)) return false;
if (HDHIONGOFID != other.HDHIONGOFID) 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 (HLAMICLGPEE != 0) hash ^= HLAMICLGPEE.GetHashCode();
if (NGHPPEGBPAO != 0) hash ^= NGHPPEGBPAO.GetHashCode();
if (BMAJDILBPOB != 0) hash ^= BMAJDILBPOB.GetHashCode();
hash ^= cellList_.GetHashCode();
if (HDHIONGOFID != 0) hash ^= HDHIONGOFID.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
cellList_.WriteTo(output, _repeated_cellList_codec);
if (HLAMICLGPEE != 0) {
output.WriteRawTag(24);
output.WriteUInt32(HLAMICLGPEE);
}
if (NGHPPEGBPAO != 0) {
output.WriteRawTag(32);
output.WriteUInt32(NGHPPEGBPAO);
}
if (HDHIONGOFID != 0) {
output.WriteRawTag(64);
output.WriteUInt32(HDHIONGOFID);
}
if (BMAJDILBPOB != 0) {
output.WriteRawTag(88);
output.WriteUInt32(BMAJDILBPOB);
}
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) {
cellList_.WriteTo(ref output, _repeated_cellList_codec);
if (HLAMICLGPEE != 0) {
output.WriteRawTag(24);
output.WriteUInt32(HLAMICLGPEE);
}
if (NGHPPEGBPAO != 0) {
output.WriteRawTag(32);
output.WriteUInt32(NGHPPEGBPAO);
}
if (HDHIONGOFID != 0) {
output.WriteRawTag(64);
output.WriteUInt32(HDHIONGOFID);
}
if (BMAJDILBPOB != 0) {
output.WriteRawTag(88);
output.WriteUInt32(BMAJDILBPOB);
}
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 (HLAMICLGPEE != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HLAMICLGPEE);
}
if (NGHPPEGBPAO != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NGHPPEGBPAO);
}
if (BMAJDILBPOB != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BMAJDILBPOB);
}
size += cellList_.CalculateSize(_repeated_cellList_codec);
if (HDHIONGOFID != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HDHIONGOFID);
}
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.HLAMICLGPEE != 0) {
HLAMICLGPEE = other.HLAMICLGPEE;
}
if (other.NGHPPEGBPAO != 0) {
NGHPPEGBPAO = other.NGHPPEGBPAO;
}
if (other.BMAJDILBPOB != 0) {
BMAJDILBPOB = other.BMAJDILBPOB;
}
cellList_.Add(other.cellList_);
if (other.HDHIONGOFID != 0) {
HDHIONGOFID = other.HDHIONGOFID;
}
_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: {
cellList_.AddEntriesFrom(input, _repeated_cellList_codec);
break;
}
case 24: {
HLAMICLGPEE = input.ReadUInt32();
break;
}
case 32: {
NGHPPEGBPAO = input.ReadUInt32();
break;
}
case 64: {
HDHIONGOFID = input.ReadUInt32();
break;
}
case 88: {
BMAJDILBPOB = 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: {
cellList_.AddEntriesFrom(ref input, _repeated_cellList_codec);
break;
}
case 24: {
HLAMICLGPEE = input.ReadUInt32();
break;
}
case 32: {
NGHPPEGBPAO = input.ReadUInt32();
break;
}
case 64: {
HDHIONGOFID = input.ReadUInt32();
break;
}
case 88: {
BMAJDILBPOB = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code