mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
650 lines
23 KiB
C#
650 lines
23 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ChessRogueCell.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 ChessRogueCell.proto</summary>
|
|
public static partial class ChessRogueCellReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ChessRogueCell.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ChessRogueCellReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChRDaGVzc1JvZ3VlQ2VsbC5wcm90bxofQ2hlc3NSb2d1ZUNlbGxTcGVjaWFs",
|
|
"VHlwZS5wcm90bxoVQ2VsbEFkdmFuY2VJbmZvLnByb3RvGh9DaGVzc1JvZ3Vl",
|
|
"Qm9hcmRDZWxsU3RhdHVzLnByb3RvIscCCg5DaGVzc1JvZ3VlQ2VsbBITCgtp",
|
|
"c191bmxvY2tlZBgIIAEoCBITCgtKQUxORU5ITkJETRgNIAEoDRIwCgxzcGVj",
|
|
"aWFsX3R5cGUYDCABKA4yGi5DaGVzc1JvZ3VlQ2VsbFNwZWNpYWxUeXBlEhMK",
|
|
"C0lGRUhHR0tNSENBGAQgAygNEhMKC01BQkxITURCSUFQGA4gASgNEhMKC0RN",
|
|
"TVBKRUVFQUJKGA8gASgNEiQKCnN0YWdlX2luZm8YAiABKAsyEC5DZWxsQWR2",
|
|
"YW5jZUluZm8SEwoLQUpFTExLRk5CSkUYByABKA0SCgoCaWQYBiABKA0SDwoH",
|
|
"cm9vbV9pZBgFIAEoDRIvCgtjZWxsX3N0YXR1cxgBIAEoDjIaLkNoZXNzUm9n",
|
|
"dWVCb2FyZENlbGxTdGF0dXMSEQoJaXNfdW5sb2NrGAogASgIQh6qAhtFZ2dM",
|
|
"aW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.CellAdvanceInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatusReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChessRogueCell), global::EggLink.DanhengServer.Proto.ChessRogueCell.Parser, new[]{ "IsUnlocked", "JALNENHNBDM", "SpecialType", "IFEHGGKMHCA", "MABLHMDBIAP", "DMMPJEEEABJ", "StageInfo", "AJELLKFNBJE", "Id", "RoomId", "CellStatus", "IsUnlock" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ChessRogueCell : pb::IMessage<ChessRogueCell>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ChessRogueCell> _parser = new pb::MessageParser<ChessRogueCell>(() => new ChessRogueCell());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ChessRogueCell> 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.ChessRogueCellReflection.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 ChessRogueCell() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChessRogueCell(ChessRogueCell other) : this() {
|
|
isUnlocked_ = other.isUnlocked_;
|
|
jALNENHNBDM_ = other.jALNENHNBDM_;
|
|
specialType_ = other.specialType_;
|
|
iFEHGGKMHCA_ = other.iFEHGGKMHCA_.Clone();
|
|
mABLHMDBIAP_ = other.mABLHMDBIAP_;
|
|
dMMPJEEEABJ_ = other.dMMPJEEEABJ_;
|
|
stageInfo_ = other.stageInfo_ != null ? other.stageInfo_.Clone() : null;
|
|
aJELLKFNBJE_ = other.aJELLKFNBJE_;
|
|
id_ = other.id_;
|
|
roomId_ = other.roomId_;
|
|
cellStatus_ = other.cellStatus_;
|
|
isUnlock_ = other.isUnlock_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChessRogueCell Clone() {
|
|
return new ChessRogueCell(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "is_unlocked" field.</summary>
|
|
public const int IsUnlockedFieldNumber = 8;
|
|
private bool isUnlocked_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsUnlocked {
|
|
get { return isUnlocked_; }
|
|
set {
|
|
isUnlocked_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "JALNENHNBDM" field.</summary>
|
|
public const int JALNENHNBDMFieldNumber = 13;
|
|
private uint jALNENHNBDM_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint JALNENHNBDM {
|
|
get { return jALNENHNBDM_; }
|
|
set {
|
|
jALNENHNBDM_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "special_type" field.</summary>
|
|
public const int SpecialTypeFieldNumber = 12;
|
|
private global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType specialType_ = global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType SpecialType {
|
|
get { return specialType_; }
|
|
set {
|
|
specialType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "IFEHGGKMHCA" field.</summary>
|
|
public const int IFEHGGKMHCAFieldNumber = 4;
|
|
private static readonly pb::FieldCodec<uint> _repeated_iFEHGGKMHCA_codec
|
|
= pb::FieldCodec.ForUInt32(34);
|
|
private readonly pbc::RepeatedField<uint> iFEHGGKMHCA_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> IFEHGGKMHCA {
|
|
get { return iFEHGGKMHCA_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "MABLHMDBIAP" field.</summary>
|
|
public const int MABLHMDBIAPFieldNumber = 14;
|
|
private uint mABLHMDBIAP_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MABLHMDBIAP {
|
|
get { return mABLHMDBIAP_; }
|
|
set {
|
|
mABLHMDBIAP_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DMMPJEEEABJ" field.</summary>
|
|
public const int DMMPJEEEABJFieldNumber = 15;
|
|
private uint dMMPJEEEABJ_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint DMMPJEEEABJ {
|
|
get { return dMMPJEEEABJ_; }
|
|
set {
|
|
dMMPJEEEABJ_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "stage_info" field.</summary>
|
|
public const int StageInfoFieldNumber = 2;
|
|
private global::EggLink.DanhengServer.Proto.CellAdvanceInfo stageInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.CellAdvanceInfo StageInfo {
|
|
get { return stageInfo_; }
|
|
set {
|
|
stageInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "AJELLKFNBJE" field.</summary>
|
|
public const int AJELLKFNBJEFieldNumber = 7;
|
|
private uint aJELLKFNBJE_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint AJELLKFNBJE {
|
|
get { return aJELLKFNBJE_; }
|
|
set {
|
|
aJELLKFNBJE_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "id" field.</summary>
|
|
public const int IdFieldNumber = 6;
|
|
private uint id_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Id {
|
|
get { return id_; }
|
|
set {
|
|
id_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "room_id" field.</summary>
|
|
public const int RoomIdFieldNumber = 5;
|
|
private uint roomId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint RoomId {
|
|
get { return roomId_; }
|
|
set {
|
|
roomId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cell_status" field.</summary>
|
|
public const int CellStatusFieldNumber = 1;
|
|
private global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus cellStatus_ = global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus CellStatus {
|
|
get { return cellStatus_; }
|
|
set {
|
|
cellStatus_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "is_unlock" field.</summary>
|
|
public const int IsUnlockFieldNumber = 10;
|
|
private bool isUnlock_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsUnlock {
|
|
get { return isUnlock_; }
|
|
set {
|
|
isUnlock_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ChessRogueCell);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ChessRogueCell other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (IsUnlocked != other.IsUnlocked) return false;
|
|
if (JALNENHNBDM != other.JALNENHNBDM) return false;
|
|
if (SpecialType != other.SpecialType) return false;
|
|
if(!iFEHGGKMHCA_.Equals(other.iFEHGGKMHCA_)) return false;
|
|
if (MABLHMDBIAP != other.MABLHMDBIAP) return false;
|
|
if (DMMPJEEEABJ != other.DMMPJEEEABJ) return false;
|
|
if (!object.Equals(StageInfo, other.StageInfo)) return false;
|
|
if (AJELLKFNBJE != other.AJELLKFNBJE) return false;
|
|
if (Id != other.Id) return false;
|
|
if (RoomId != other.RoomId) return false;
|
|
if (CellStatus != other.CellStatus) return false;
|
|
if (IsUnlock != other.IsUnlock) 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 (IsUnlocked != false) hash ^= IsUnlocked.GetHashCode();
|
|
if (JALNENHNBDM != 0) hash ^= JALNENHNBDM.GetHashCode();
|
|
if (SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) hash ^= SpecialType.GetHashCode();
|
|
hash ^= iFEHGGKMHCA_.GetHashCode();
|
|
if (MABLHMDBIAP != 0) hash ^= MABLHMDBIAP.GetHashCode();
|
|
if (DMMPJEEEABJ != 0) hash ^= DMMPJEEEABJ.GetHashCode();
|
|
if (stageInfo_ != null) hash ^= StageInfo.GetHashCode();
|
|
if (AJELLKFNBJE != 0) hash ^= AJELLKFNBJE.GetHashCode();
|
|
if (Id != 0) hash ^= Id.GetHashCode();
|
|
if (RoomId != 0) hash ^= RoomId.GetHashCode();
|
|
if (CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) hash ^= CellStatus.GetHashCode();
|
|
if (IsUnlock != false) hash ^= IsUnlock.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 (CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) CellStatus);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
iFEHGGKMHCA_.WriteTo(output, _repeated_iFEHGGKMHCA_codec);
|
|
if (RoomId != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(RoomId);
|
|
}
|
|
if (Id != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (AJELLKFNBJE != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(AJELLKFNBJE);
|
|
}
|
|
if (IsUnlocked != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(IsUnlocked);
|
|
}
|
|
if (IsUnlock != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(IsUnlock);
|
|
}
|
|
if (SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) {
|
|
output.WriteRawTag(96);
|
|
output.WriteEnum((int) SpecialType);
|
|
}
|
|
if (JALNENHNBDM != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(JALNENHNBDM);
|
|
}
|
|
if (MABLHMDBIAP != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(MABLHMDBIAP);
|
|
}
|
|
if (DMMPJEEEABJ != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(DMMPJEEEABJ);
|
|
}
|
|
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 (CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) CellStatus);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
iFEHGGKMHCA_.WriteTo(ref output, _repeated_iFEHGGKMHCA_codec);
|
|
if (RoomId != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(RoomId);
|
|
}
|
|
if (Id != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (AJELLKFNBJE != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(AJELLKFNBJE);
|
|
}
|
|
if (IsUnlocked != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(IsUnlocked);
|
|
}
|
|
if (IsUnlock != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(IsUnlock);
|
|
}
|
|
if (SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) {
|
|
output.WriteRawTag(96);
|
|
output.WriteEnum((int) SpecialType);
|
|
}
|
|
if (JALNENHNBDM != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(JALNENHNBDM);
|
|
}
|
|
if (MABLHMDBIAP != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(MABLHMDBIAP);
|
|
}
|
|
if (DMMPJEEEABJ != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(DMMPJEEEABJ);
|
|
}
|
|
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 (IsUnlocked != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (JALNENHNBDM != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JALNENHNBDM);
|
|
}
|
|
if (SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SpecialType);
|
|
}
|
|
size += iFEHGGKMHCA_.CalculateSize(_repeated_iFEHGGKMHCA_codec);
|
|
if (MABLHMDBIAP != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MABLHMDBIAP);
|
|
}
|
|
if (DMMPJEEEABJ != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DMMPJEEEABJ);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StageInfo);
|
|
}
|
|
if (AJELLKFNBJE != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AJELLKFNBJE);
|
|
}
|
|
if (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
|
}
|
|
if (RoomId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoomId);
|
|
}
|
|
if (CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CellStatus);
|
|
}
|
|
if (IsUnlock != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ChessRogueCell other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.IsUnlocked != false) {
|
|
IsUnlocked = other.IsUnlocked;
|
|
}
|
|
if (other.JALNENHNBDM != 0) {
|
|
JALNENHNBDM = other.JALNENHNBDM;
|
|
}
|
|
if (other.SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) {
|
|
SpecialType = other.SpecialType;
|
|
}
|
|
iFEHGGKMHCA_.Add(other.iFEHGGKMHCA_);
|
|
if (other.MABLHMDBIAP != 0) {
|
|
MABLHMDBIAP = other.MABLHMDBIAP;
|
|
}
|
|
if (other.DMMPJEEEABJ != 0) {
|
|
DMMPJEEEABJ = other.DMMPJEEEABJ;
|
|
}
|
|
if (other.stageInfo_ != null) {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.CellAdvanceInfo();
|
|
}
|
|
StageInfo.MergeFrom(other.StageInfo);
|
|
}
|
|
if (other.AJELLKFNBJE != 0) {
|
|
AJELLKFNBJE = other.AJELLKFNBJE;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.RoomId != 0) {
|
|
RoomId = other.RoomId;
|
|
}
|
|
if (other.CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
|
|
CellStatus = other.CellStatus;
|
|
}
|
|
if (other.IsUnlock != false) {
|
|
IsUnlock = other.IsUnlock;
|
|
}
|
|
_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: {
|
|
CellStatus = (global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.CellAdvanceInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
break;
|
|
}
|
|
case 34:
|
|
case 32: {
|
|
iFEHGGKMHCA_.AddEntriesFrom(input, _repeated_iFEHGGKMHCA_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
RoomId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
AJELLKFNBJE = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
IsUnlocked = input.ReadBool();
|
|
break;
|
|
}
|
|
case 80: {
|
|
IsUnlock = input.ReadBool();
|
|
break;
|
|
}
|
|
case 96: {
|
|
SpecialType = (global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 104: {
|
|
JALNENHNBDM = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
MABLHMDBIAP = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
DMMPJEEEABJ = 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: {
|
|
CellStatus = (global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.CellAdvanceInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
break;
|
|
}
|
|
case 34:
|
|
case 32: {
|
|
iFEHGGKMHCA_.AddEntriesFrom(ref input, _repeated_iFEHGGKMHCA_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
RoomId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
AJELLKFNBJE = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
IsUnlocked = input.ReadBool();
|
|
break;
|
|
}
|
|
case 80: {
|
|
IsUnlock = input.ReadBool();
|
|
break;
|
|
}
|
|
case 96: {
|
|
SpecialType = (global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 104: {
|
|
JALNENHNBDM = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
MABLHMDBIAP = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
DMMPJEEEABJ = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|