Files
DanhengServer-OpenSource/Proto/CellInfo.cs
StopWuyu 5382b58874 Pam Skin
2024-10-27 15:47:59 +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",
"bGxJbmZvEhMKC1BFTkpISU5HSUdDGAsgASgNEhMKC0ZIQlBMR05CQ0JHGAwg",
"ASgNEhMKC01LUEZGTEZNSUhKGAQgASgNEiIKCWNlbGxfbGlzdBgGIAMoCzIP",
"LkNoZXNzUm9ndWVDZWxsEhMKC0RDQkFHSk1DSEVCGAUgASgNQh6qAhtFZ2dM",
"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[]{ "PENJHINGIGC", "FHBPLGNBCBG", "MKPFFLFMIHJ", "CellList", "DCBAGJMCHEB" }, 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() {
pENJHINGIGC_ = other.pENJHINGIGC_;
fHBPLGNBCBG_ = other.fHBPLGNBCBG_;
mKPFFLFMIHJ_ = other.mKPFFLFMIHJ_;
cellList_ = other.cellList_.Clone();
dCBAGJMCHEB_ = other.dCBAGJMCHEB_;
_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 "PENJHINGIGC" field.</summary>
public const int PENJHINGIGCFieldNumber = 11;
private uint pENJHINGIGC_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PENJHINGIGC {
get { return pENJHINGIGC_; }
set {
pENJHINGIGC_ = value;
}
}
/// <summary>Field number for the "FHBPLGNBCBG" field.</summary>
public const int FHBPLGNBCBGFieldNumber = 12;
private uint fHBPLGNBCBG_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint FHBPLGNBCBG {
get { return fHBPLGNBCBG_; }
set {
fHBPLGNBCBG_ = value;
}
}
/// <summary>Field number for the "MKPFFLFMIHJ" field.</summary>
public const int MKPFFLFMIHJFieldNumber = 4;
private uint mKPFFLFMIHJ_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint MKPFFLFMIHJ {
get { return mKPFFLFMIHJ_; }
set {
mKPFFLFMIHJ_ = value;
}
}
/// <summary>Field number for the "cell_list" field.</summary>
public const int CellListFieldNumber = 6;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChessRogueCell> _repeated_cellList_codec
= pb::FieldCodec.ForMessage(50, 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 "DCBAGJMCHEB" field.</summary>
public const int DCBAGJMCHEBFieldNumber = 5;
private uint dCBAGJMCHEB_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DCBAGJMCHEB {
get { return dCBAGJMCHEB_; }
set {
dCBAGJMCHEB_ = 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 (PENJHINGIGC != other.PENJHINGIGC) return false;
if (FHBPLGNBCBG != other.FHBPLGNBCBG) return false;
if (MKPFFLFMIHJ != other.MKPFFLFMIHJ) return false;
if(!cellList_.Equals(other.cellList_)) return false;
if (DCBAGJMCHEB != other.DCBAGJMCHEB) 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 (PENJHINGIGC != 0) hash ^= PENJHINGIGC.GetHashCode();
if (FHBPLGNBCBG != 0) hash ^= FHBPLGNBCBG.GetHashCode();
if (MKPFFLFMIHJ != 0) hash ^= MKPFFLFMIHJ.GetHashCode();
hash ^= cellList_.GetHashCode();
if (DCBAGJMCHEB != 0) hash ^= DCBAGJMCHEB.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 (MKPFFLFMIHJ != 0) {
output.WriteRawTag(32);
output.WriteUInt32(MKPFFLFMIHJ);
}
if (DCBAGJMCHEB != 0) {
output.WriteRawTag(40);
output.WriteUInt32(DCBAGJMCHEB);
}
cellList_.WriteTo(output, _repeated_cellList_codec);
if (PENJHINGIGC != 0) {
output.WriteRawTag(88);
output.WriteUInt32(PENJHINGIGC);
}
if (FHBPLGNBCBG != 0) {
output.WriteRawTag(96);
output.WriteUInt32(FHBPLGNBCBG);
}
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 (MKPFFLFMIHJ != 0) {
output.WriteRawTag(32);
output.WriteUInt32(MKPFFLFMIHJ);
}
if (DCBAGJMCHEB != 0) {
output.WriteRawTag(40);
output.WriteUInt32(DCBAGJMCHEB);
}
cellList_.WriteTo(ref output, _repeated_cellList_codec);
if (PENJHINGIGC != 0) {
output.WriteRawTag(88);
output.WriteUInt32(PENJHINGIGC);
}
if (FHBPLGNBCBG != 0) {
output.WriteRawTag(96);
output.WriteUInt32(FHBPLGNBCBG);
}
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 (PENJHINGIGC != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PENJHINGIGC);
}
if (FHBPLGNBCBG != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FHBPLGNBCBG);
}
if (MKPFFLFMIHJ != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MKPFFLFMIHJ);
}
size += cellList_.CalculateSize(_repeated_cellList_codec);
if (DCBAGJMCHEB != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DCBAGJMCHEB);
}
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.PENJHINGIGC != 0) {
PENJHINGIGC = other.PENJHINGIGC;
}
if (other.FHBPLGNBCBG != 0) {
FHBPLGNBCBG = other.FHBPLGNBCBG;
}
if (other.MKPFFLFMIHJ != 0) {
MKPFFLFMIHJ = other.MKPFFLFMIHJ;
}
cellList_.Add(other.cellList_);
if (other.DCBAGJMCHEB != 0) {
DCBAGJMCHEB = other.DCBAGJMCHEB;
}
_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: {
MKPFFLFMIHJ = input.ReadUInt32();
break;
}
case 40: {
DCBAGJMCHEB = input.ReadUInt32();
break;
}
case 50: {
cellList_.AddEntriesFrom(input, _repeated_cellList_codec);
break;
}
case 88: {
PENJHINGIGC = input.ReadUInt32();
break;
}
case 96: {
FHBPLGNBCBG = 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 32: {
MKPFFLFMIHJ = input.ReadUInt32();
break;
}
case 40: {
DCBAGJMCHEB = input.ReadUInt32();
break;
}
case 50: {
cellList_.AddEntriesFrom(ref input, _repeated_cellList_codec);
break;
}
case 88: {
PENJHINGIGC = input.ReadUInt32();
break;
}
case 96: {
FHBPLGNBCBG = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code