Files
DanhengServer-OpenSource/Proto/ChessRogueAreaInfo.cs
2025-12-07 12:26:24 +08:00

462 lines
18 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ChessRogueAreaInfo.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 ChessRogueAreaInfo.proto</summary>
public static partial class ChessRogueAreaInfoReflection {
#region Descriptor
/// <summary>File descriptor for ChessRogueAreaInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ChessRogueAreaInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChhDaGVzc1JvZ3VlQXJlYUluZm8ucHJvdG8aEUtLQ0tHRU9KRktFLnByb3Rv",
"Gg5DZWxsSW5mby5wcm90bxofQ2hlc3NSb2d1ZUhpc3RvcnlDZWxsSW5mby5w",
"cm90bxofQ2hlc3NSb2d1ZUJvYXJkQ2VsbFN0YXR1cy5wcm90byL9AQoSQ2hl",
"c3NSb2d1ZUFyZWFJbmZvEiEKC0NGRUtBT0xLSEpHGA8gASgLMgwuS0tDS0dF",
"T0pGS0USFwoEY2VsbBgMIAEoCzIJLkNlbGxJbmZvEg4KBmN1cl9pZBgLIAEo",
"DRIwCgxsYXllcl9zdGF0dXMYBSABKA4yGi5DaGVzc1JvZ3VlQm9hcmRDZWxs",
"U3RhdHVzEiEKGWFsbG93X3NlbGVjdF9jZWxsX2lkX2xpc3QYByADKA0SMAoM",
"aGlzdG9yeV9jZWxsGAogAygLMhouQ2hlc3NSb2d1ZUhpc3RvcnlDZWxsSW5m",
"bxIUCgxjdXJfYm9hcmRfaWQYBiABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1Nl",
"cnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.KKCKGEOJFKEReflection.Descriptor, global::EggLink.DanhengServer.Proto.CellInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueHistoryCellInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatusReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChessRogueAreaInfo), global::EggLink.DanhengServer.Proto.ChessRogueAreaInfo.Parser, new[]{ "CFEKAOLKHJG", "Cell", "CurId", "LayerStatus", "AllowSelectCellIdList", "HistoryCell", "CurBoardId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ChessRogueAreaInfo : pb::IMessage<ChessRogueAreaInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ChessRogueAreaInfo> _parser = new pb::MessageParser<ChessRogueAreaInfo>(() => new ChessRogueAreaInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ChessRogueAreaInfo> 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.ChessRogueAreaInfoReflection.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 ChessRogueAreaInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChessRogueAreaInfo(ChessRogueAreaInfo other) : this() {
cFEKAOLKHJG_ = other.cFEKAOLKHJG_ != null ? other.cFEKAOLKHJG_.Clone() : null;
cell_ = other.cell_ != null ? other.cell_.Clone() : null;
curId_ = other.curId_;
layerStatus_ = other.layerStatus_;
allowSelectCellIdList_ = other.allowSelectCellIdList_.Clone();
historyCell_ = other.historyCell_.Clone();
curBoardId_ = other.curBoardId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChessRogueAreaInfo Clone() {
return new ChessRogueAreaInfo(this);
}
/// <summary>Field number for the "CFEKAOLKHJG" field.</summary>
public const int CFEKAOLKHJGFieldNumber = 15;
private global::EggLink.DanhengServer.Proto.KKCKGEOJFKE cFEKAOLKHJG_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.KKCKGEOJFKE CFEKAOLKHJG {
get { return cFEKAOLKHJG_; }
set {
cFEKAOLKHJG_ = value;
}
}
/// <summary>Field number for the "cell" field.</summary>
public const int CellFieldNumber = 12;
private global::EggLink.DanhengServer.Proto.CellInfo cell_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.CellInfo Cell {
get { return cell_; }
set {
cell_ = value;
}
}
/// <summary>Field number for the "cur_id" field.</summary>
public const int CurIdFieldNumber = 11;
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 "layer_status" field.</summary>
public const int LayerStatusFieldNumber = 5;
private global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus layerStatus_ = global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus LayerStatus {
get { return layerStatus_; }
set {
layerStatus_ = value;
}
}
/// <summary>Field number for the "allow_select_cell_id_list" field.</summary>
public const int AllowSelectCellIdListFieldNumber = 7;
private static readonly pb::FieldCodec<uint> _repeated_allowSelectCellIdList_codec
= pb::FieldCodec.ForUInt32(58);
private readonly pbc::RepeatedField<uint> allowSelectCellIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> AllowSelectCellIdList {
get { return allowSelectCellIdList_; }
}
/// <summary>Field number for the "history_cell" field.</summary>
public const int HistoryCellFieldNumber = 10;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChessRogueHistoryCellInfo> _repeated_historyCell_codec
= pb::FieldCodec.ForMessage(82, global::EggLink.DanhengServer.Proto.ChessRogueHistoryCellInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChessRogueHistoryCellInfo> historyCell_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChessRogueHistoryCellInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChessRogueHistoryCellInfo> HistoryCell {
get { return historyCell_; }
}
/// <summary>Field number for the "cur_board_id" field.</summary>
public const int CurBoardIdFieldNumber = 6;
private uint curBoardId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CurBoardId {
get { return curBoardId_; }
set {
curBoardId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ChessRogueAreaInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ChessRogueAreaInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(CFEKAOLKHJG, other.CFEKAOLKHJG)) return false;
if (!object.Equals(Cell, other.Cell)) return false;
if (CurId != other.CurId) return false;
if (LayerStatus != other.LayerStatus) return false;
if(!allowSelectCellIdList_.Equals(other.allowSelectCellIdList_)) return false;
if(!historyCell_.Equals(other.historyCell_)) return false;
if (CurBoardId != other.CurBoardId) 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 (cFEKAOLKHJG_ != null) hash ^= CFEKAOLKHJG.GetHashCode();
if (cell_ != null) hash ^= Cell.GetHashCode();
if (CurId != 0) hash ^= CurId.GetHashCode();
if (LayerStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) hash ^= LayerStatus.GetHashCode();
hash ^= allowSelectCellIdList_.GetHashCode();
hash ^= historyCell_.GetHashCode();
if (CurBoardId != 0) hash ^= CurBoardId.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 (LayerStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
output.WriteRawTag(40);
output.WriteEnum((int) LayerStatus);
}
if (CurBoardId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(CurBoardId);
}
allowSelectCellIdList_.WriteTo(output, _repeated_allowSelectCellIdList_codec);
historyCell_.WriteTo(output, _repeated_historyCell_codec);
if (CurId != 0) {
output.WriteRawTag(88);
output.WriteUInt32(CurId);
}
if (cell_ != null) {
output.WriteRawTag(98);
output.WriteMessage(Cell);
}
if (cFEKAOLKHJG_ != null) {
output.WriteRawTag(122);
output.WriteMessage(CFEKAOLKHJG);
}
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 (LayerStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
output.WriteRawTag(40);
output.WriteEnum((int) LayerStatus);
}
if (CurBoardId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(CurBoardId);
}
allowSelectCellIdList_.WriteTo(ref output, _repeated_allowSelectCellIdList_codec);
historyCell_.WriteTo(ref output, _repeated_historyCell_codec);
if (CurId != 0) {
output.WriteRawTag(88);
output.WriteUInt32(CurId);
}
if (cell_ != null) {
output.WriteRawTag(98);
output.WriteMessage(Cell);
}
if (cFEKAOLKHJG_ != null) {
output.WriteRawTag(122);
output.WriteMessage(CFEKAOLKHJG);
}
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 (cFEKAOLKHJG_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CFEKAOLKHJG);
}
if (cell_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cell);
}
if (CurId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurId);
}
if (LayerStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) LayerStatus);
}
size += allowSelectCellIdList_.CalculateSize(_repeated_allowSelectCellIdList_codec);
size += historyCell_.CalculateSize(_repeated_historyCell_codec);
if (CurBoardId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurBoardId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ChessRogueAreaInfo other) {
if (other == null) {
return;
}
if (other.cFEKAOLKHJG_ != null) {
if (cFEKAOLKHJG_ == null) {
CFEKAOLKHJG = new global::EggLink.DanhengServer.Proto.KKCKGEOJFKE();
}
CFEKAOLKHJG.MergeFrom(other.CFEKAOLKHJG);
}
if (other.cell_ != null) {
if (cell_ == null) {
Cell = new global::EggLink.DanhengServer.Proto.CellInfo();
}
Cell.MergeFrom(other.Cell);
}
if (other.CurId != 0) {
CurId = other.CurId;
}
if (other.LayerStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
LayerStatus = other.LayerStatus;
}
allowSelectCellIdList_.Add(other.allowSelectCellIdList_);
historyCell_.Add(other.historyCell_);
if (other.CurBoardId != 0) {
CurBoardId = other.CurBoardId;
}
_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 40: {
LayerStatus = (global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus) input.ReadEnum();
break;
}
case 48: {
CurBoardId = input.ReadUInt32();
break;
}
case 58:
case 56: {
allowSelectCellIdList_.AddEntriesFrom(input, _repeated_allowSelectCellIdList_codec);
break;
}
case 82: {
historyCell_.AddEntriesFrom(input, _repeated_historyCell_codec);
break;
}
case 88: {
CurId = input.ReadUInt32();
break;
}
case 98: {
if (cell_ == null) {
Cell = new global::EggLink.DanhengServer.Proto.CellInfo();
}
input.ReadMessage(Cell);
break;
}
case 122: {
if (cFEKAOLKHJG_ == null) {
CFEKAOLKHJG = new global::EggLink.DanhengServer.Proto.KKCKGEOJFKE();
}
input.ReadMessage(CFEKAOLKHJG);
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 40: {
LayerStatus = (global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus) input.ReadEnum();
break;
}
case 48: {
CurBoardId = input.ReadUInt32();
break;
}
case 58:
case 56: {
allowSelectCellIdList_.AddEntriesFrom(ref input, _repeated_allowSelectCellIdList_codec);
break;
}
case 82: {
historyCell_.AddEntriesFrom(ref input, _repeated_historyCell_codec);
break;
}
case 88: {
CurId = input.ReadUInt32();
break;
}
case 98: {
if (cell_ == null) {
Cell = new global::EggLink.DanhengServer.Proto.CellInfo();
}
input.ReadMessage(Cell);
break;
}
case 122: {
if (cFEKAOLKHJG_ == null) {
CFEKAOLKHJG = new global::EggLink.DanhengServer.Proto.KKCKGEOJFKE();
}
input.ReadMessage(CFEKAOLKHJG);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code