mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36: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(
|
|
"Cg5DZWxsSW5mby5wcm90bxoUQ2hlc3NSb2d1ZUNlbGwucHJvdG8ifQoIQ2Vs",
|
|
"bEluZm8SIgoJY2VsbF9saXN0GAIgAygLMg8uQ2hlc3NSb2d1ZUNlbGwSDgoG",
|
|
"Y3VyX2lkGA8gASgNEhMKC0ZHQ0hNTkpCQ0NCGAEgASgNEhMKC0ZGTUxEREZJ",
|
|
"REJBGAUgASgNEhMKC09QRUlKSUpGSUJQGAQgASgNQh6qAhtFZ2dMaW5rLkRh",
|
|
"bmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
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", "CurId", "FGCHMNJBCCB", "FFMLDDFIDBA", "OPEIJIJFIBP" }, 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();
|
|
curId_ = other.curId_;
|
|
fGCHMNJBCCB_ = other.fGCHMNJBCCB_;
|
|
fFMLDDFIDBA_ = other.fFMLDDFIDBA_;
|
|
oPEIJIJFIBP_ = other.oPEIJIJFIBP_;
|
|
_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 = 2;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChessRogueCell> _repeated_cellList_codec
|
|
= pb::FieldCodec.ForMessage(18, 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 "cur_id" field.</summary>
|
|
public const int CurIdFieldNumber = 15;
|
|
private uint curId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CurId {
|
|
get { return curId_; }
|
|
set {
|
|
curId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "FGCHMNJBCCB" field.</summary>
|
|
public const int FGCHMNJBCCBFieldNumber = 1;
|
|
private uint fGCHMNJBCCB_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint FGCHMNJBCCB {
|
|
get { return fGCHMNJBCCB_; }
|
|
set {
|
|
fGCHMNJBCCB_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "FFMLDDFIDBA" field.</summary>
|
|
public const int FFMLDDFIDBAFieldNumber = 5;
|
|
private uint fFMLDDFIDBA_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint FFMLDDFIDBA {
|
|
get { return fFMLDDFIDBA_; }
|
|
set {
|
|
fFMLDDFIDBA_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "OPEIJIJFIBP" field.</summary>
|
|
public const int OPEIJIJFIBPFieldNumber = 4;
|
|
private uint oPEIJIJFIBP_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint OPEIJIJFIBP {
|
|
get { return oPEIJIJFIBP_; }
|
|
set {
|
|
oPEIJIJFIBP_ = 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 (CurId != other.CurId) return false;
|
|
if (FGCHMNJBCCB != other.FGCHMNJBCCB) return false;
|
|
if (FFMLDDFIDBA != other.FFMLDDFIDBA) return false;
|
|
if (OPEIJIJFIBP != other.OPEIJIJFIBP) 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 (CurId != 0) hash ^= CurId.GetHashCode();
|
|
if (FGCHMNJBCCB != 0) hash ^= FGCHMNJBCCB.GetHashCode();
|
|
if (FFMLDDFIDBA != 0) hash ^= FFMLDDFIDBA.GetHashCode();
|
|
if (OPEIJIJFIBP != 0) hash ^= OPEIJIJFIBP.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 (FGCHMNJBCCB != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(FGCHMNJBCCB);
|
|
}
|
|
cellList_.WriteTo(output, _repeated_cellList_codec);
|
|
if (OPEIJIJFIBP != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(OPEIJIJFIBP);
|
|
}
|
|
if (FFMLDDFIDBA != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(FFMLDDFIDBA);
|
|
}
|
|
if (CurId != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(CurId);
|
|
}
|
|
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 (FGCHMNJBCCB != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(FGCHMNJBCCB);
|
|
}
|
|
cellList_.WriteTo(ref output, _repeated_cellList_codec);
|
|
if (OPEIJIJFIBP != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(OPEIJIJFIBP);
|
|
}
|
|
if (FFMLDDFIDBA != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(FFMLDDFIDBA);
|
|
}
|
|
if (CurId != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(CurId);
|
|
}
|
|
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 (CurId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurId);
|
|
}
|
|
if (FGCHMNJBCCB != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FGCHMNJBCCB);
|
|
}
|
|
if (FFMLDDFIDBA != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FFMLDDFIDBA);
|
|
}
|
|
if (OPEIJIJFIBP != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OPEIJIJFIBP);
|
|
}
|
|
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.CurId != 0) {
|
|
CurId = other.CurId;
|
|
}
|
|
if (other.FGCHMNJBCCB != 0) {
|
|
FGCHMNJBCCB = other.FGCHMNJBCCB;
|
|
}
|
|
if (other.FFMLDDFIDBA != 0) {
|
|
FFMLDDFIDBA = other.FFMLDDFIDBA;
|
|
}
|
|
if (other.OPEIJIJFIBP != 0) {
|
|
OPEIJIJFIBP = other.OPEIJIJFIBP;
|
|
}
|
|
_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 8: {
|
|
FGCHMNJBCCB = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
cellList_.AddEntriesFrom(input, _repeated_cellList_codec);
|
|
break;
|
|
}
|
|
case 32: {
|
|
OPEIJIJFIBP = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
FFMLDDFIDBA = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
CurId = 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 8: {
|
|
FGCHMNJBCCB = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
cellList_.AddEntriesFrom(ref input, _repeated_cellList_codec);
|
|
break;
|
|
}
|
|
case 32: {
|
|
OPEIJIJFIBP = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
FFMLDDFIDBA = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
CurId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|