mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
374 lines
13 KiB
C#
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",
|
|
"bGxJbmZvEiIKCWNlbGxfbGlzdBgJIAMoCzIPLkNoZXNzUm9ndWVDZWxsEhMK",
|
|
"C0ROT05FT0FNT0dDGAogASgNEhMKC09FR0pITUxNRkROGAUgASgNEhMKC0JB",
|
|
"R0FQR0ZLRUhDGAIgASgNEhMKC0hJRkpHTUNBTE9PGAMgASgNQh6qAhtFZ2dM",
|
|
"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[]{ "CellList", "DNONEOAMOGC", "OEGJHMLMFDN", "BAGAPGFKEHC", "HIFJGMCALOO" }, 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() {
|
|
cellList_ = other.cellList_.Clone();
|
|
dNONEOAMOGC_ = other.dNONEOAMOGC_;
|
|
oEGJHMLMFDN_ = other.oEGJHMLMFDN_;
|
|
bAGAPGFKEHC_ = other.bAGAPGFKEHC_;
|
|
hIFJGMCALOO_ = other.hIFJGMCALOO_;
|
|
_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 "cell_list" field.</summary>
|
|
public const int CellListFieldNumber = 9;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChessRogueCell> _repeated_cellList_codec
|
|
= pb::FieldCodec.ForMessage(74, 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 "DNONEOAMOGC" field.</summary>
|
|
public const int DNONEOAMOGCFieldNumber = 10;
|
|
private uint dNONEOAMOGC_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint DNONEOAMOGC {
|
|
get { return dNONEOAMOGC_; }
|
|
set {
|
|
dNONEOAMOGC_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "OEGJHMLMFDN" field.</summary>
|
|
public const int OEGJHMLMFDNFieldNumber = 5;
|
|
private uint oEGJHMLMFDN_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint OEGJHMLMFDN {
|
|
get { return oEGJHMLMFDN_; }
|
|
set {
|
|
oEGJHMLMFDN_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "BAGAPGFKEHC" field.</summary>
|
|
public const int BAGAPGFKEHCFieldNumber = 2;
|
|
private uint bAGAPGFKEHC_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BAGAPGFKEHC {
|
|
get { return bAGAPGFKEHC_; }
|
|
set {
|
|
bAGAPGFKEHC_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "HIFJGMCALOO" field.</summary>
|
|
public const int HIFJGMCALOOFieldNumber = 3;
|
|
private uint hIFJGMCALOO_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint HIFJGMCALOO {
|
|
get { return hIFJGMCALOO_; }
|
|
set {
|
|
hIFJGMCALOO_ = 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(!cellList_.Equals(other.cellList_)) return false;
|
|
if (DNONEOAMOGC != other.DNONEOAMOGC) return false;
|
|
if (OEGJHMLMFDN != other.OEGJHMLMFDN) return false;
|
|
if (BAGAPGFKEHC != other.BAGAPGFKEHC) return false;
|
|
if (HIFJGMCALOO != other.HIFJGMCALOO) 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 ^= cellList_.GetHashCode();
|
|
if (DNONEOAMOGC != 0) hash ^= DNONEOAMOGC.GetHashCode();
|
|
if (OEGJHMLMFDN != 0) hash ^= OEGJHMLMFDN.GetHashCode();
|
|
if (BAGAPGFKEHC != 0) hash ^= BAGAPGFKEHC.GetHashCode();
|
|
if (HIFJGMCALOO != 0) hash ^= HIFJGMCALOO.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 (BAGAPGFKEHC != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(BAGAPGFKEHC);
|
|
}
|
|
if (HIFJGMCALOO != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(HIFJGMCALOO);
|
|
}
|
|
if (OEGJHMLMFDN != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(OEGJHMLMFDN);
|
|
}
|
|
cellList_.WriteTo(output, _repeated_cellList_codec);
|
|
if (DNONEOAMOGC != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(DNONEOAMOGC);
|
|
}
|
|
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 (BAGAPGFKEHC != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(BAGAPGFKEHC);
|
|
}
|
|
if (HIFJGMCALOO != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(HIFJGMCALOO);
|
|
}
|
|
if (OEGJHMLMFDN != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(OEGJHMLMFDN);
|
|
}
|
|
cellList_.WriteTo(ref output, _repeated_cellList_codec);
|
|
if (DNONEOAMOGC != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(DNONEOAMOGC);
|
|
}
|
|
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 += cellList_.CalculateSize(_repeated_cellList_codec);
|
|
if (DNONEOAMOGC != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DNONEOAMOGC);
|
|
}
|
|
if (OEGJHMLMFDN != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OEGJHMLMFDN);
|
|
}
|
|
if (BAGAPGFKEHC != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BAGAPGFKEHC);
|
|
}
|
|
if (HIFJGMCALOO != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HIFJGMCALOO);
|
|
}
|
|
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;
|
|
}
|
|
cellList_.Add(other.cellList_);
|
|
if (other.DNONEOAMOGC != 0) {
|
|
DNONEOAMOGC = other.DNONEOAMOGC;
|
|
}
|
|
if (other.OEGJHMLMFDN != 0) {
|
|
OEGJHMLMFDN = other.OEGJHMLMFDN;
|
|
}
|
|
if (other.BAGAPGFKEHC != 0) {
|
|
BAGAPGFKEHC = other.BAGAPGFKEHC;
|
|
}
|
|
if (other.HIFJGMCALOO != 0) {
|
|
HIFJGMCALOO = other.HIFJGMCALOO;
|
|
}
|
|
_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 16: {
|
|
BAGAPGFKEHC = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
HIFJGMCALOO = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
OEGJHMLMFDN = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 74: {
|
|
cellList_.AddEntriesFrom(input, _repeated_cellList_codec);
|
|
break;
|
|
}
|
|
case 80: {
|
|
DNONEOAMOGC = 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 16: {
|
|
BAGAPGFKEHC = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
HIFJGMCALOO = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
OEGJHMLMFDN = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 74: {
|
|
cellList_.AddEntriesFrom(ref input, _repeated_cellList_codec);
|
|
break;
|
|
}
|
|
case 80: {
|
|
DNONEOAMOGC = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|