mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36: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(
|
|
"ChRDaGVzc1JvZ3VlQ2VsbC5wcm90bxofQ2hlc3NSb2d1ZUJvYXJkQ2VsbFN0",
|
|
"YXR1cy5wcm90bxofQ2hlc3NSb2d1ZUNlbGxTcGVjaWFsVHlwZS5wcm90bxoV",
|
|
"Q2VsbEFkdmFuY2VJbmZvLnByb3RvIroCCg5DaGVzc1JvZ3VlQ2VsbBINCgVw",
|
|
"b3NfeRgFIAEoDRIRCglpc191bmxvY2sYCiABKAgSEQoJY2VsbF90eXBlGAMg",
|
|
"ASgNEg0KBXBvc194GAEgASgNEhMKC0pFSEVBT0lOR01QGA4gASgIEgoKAmlk",
|
|
"GAYgASgNEi8KC2NlbGxfc3RhdHVzGAkgASgOMhouQ2hlc3NSb2d1ZUJvYXJk",
|
|
"Q2VsbFN0YXR1cxIlCgtwbGF5ZXJfaW5mbxgMIAEoCzIQLkNlbGxBZHZhbmNl",
|
|
"SW5mbxITCgtCSUNHS0pIRFBOShgIIAEoDRIwCgxzcGVjaWFsX3R5cGUYAiAB",
|
|
"KA4yGi5DaGVzc1JvZ3VlQ2VsbFNwZWNpYWxUeXBlEhMKC0dLQVBQTkdPQ05C",
|
|
"GAsgAygNEg8KB3Jvb21faWQYBCABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1Nl",
|
|
"cnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatusReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.CellAdvanceInfoReflection.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[]{ "PosY", "IsUnlock", "CellType", "PosX", "JEHEAOINGMP", "Id", "CellStatus", "PlayerInfo", "BICGKJHDPNJ", "SpecialType", "GKAPPNGOCNB", "RoomId" }, 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() {
|
|
posY_ = other.posY_;
|
|
isUnlock_ = other.isUnlock_;
|
|
cellType_ = other.cellType_;
|
|
posX_ = other.posX_;
|
|
jEHEAOINGMP_ = other.jEHEAOINGMP_;
|
|
id_ = other.id_;
|
|
cellStatus_ = other.cellStatus_;
|
|
playerInfo_ = other.playerInfo_ != null ? other.playerInfo_.Clone() : null;
|
|
bICGKJHDPNJ_ = other.bICGKJHDPNJ_;
|
|
specialType_ = other.specialType_;
|
|
gKAPPNGOCNB_ = other.gKAPPNGOCNB_.Clone();
|
|
roomId_ = other.roomId_;
|
|
_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 "pos_y" field.</summary>
|
|
public const int PosYFieldNumber = 5;
|
|
private uint posY_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint PosY {
|
|
get { return posY_; }
|
|
set {
|
|
posY_ = 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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cell_type" field.</summary>
|
|
public const int CellTypeFieldNumber = 3;
|
|
private uint cellType_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CellType {
|
|
get { return cellType_; }
|
|
set {
|
|
cellType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "pos_x" field.</summary>
|
|
public const int PosXFieldNumber = 1;
|
|
private uint posX_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint PosX {
|
|
get { return posX_; }
|
|
set {
|
|
posX_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "JEHEAOINGMP" field.</summary>
|
|
public const int JEHEAOINGMPFieldNumber = 14;
|
|
private bool jEHEAOINGMP_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool JEHEAOINGMP {
|
|
get { return jEHEAOINGMP_; }
|
|
set {
|
|
jEHEAOINGMP_ = 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 "cell_status" field.</summary>
|
|
public const int CellStatusFieldNumber = 9;
|
|
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 "player_info" field.</summary>
|
|
public const int PlayerInfoFieldNumber = 12;
|
|
private global::EggLink.DanhengServer.Proto.CellAdvanceInfo playerInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.CellAdvanceInfo PlayerInfo {
|
|
get { return playerInfo_; }
|
|
set {
|
|
playerInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "BICGKJHDPNJ" field.</summary>
|
|
public const int BICGKJHDPNJFieldNumber = 8;
|
|
private uint bICGKJHDPNJ_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BICGKJHDPNJ {
|
|
get { return bICGKJHDPNJ_; }
|
|
set {
|
|
bICGKJHDPNJ_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "special_type" field.</summary>
|
|
public const int SpecialTypeFieldNumber = 2;
|
|
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 "GKAPPNGOCNB" field.</summary>
|
|
public const int GKAPPNGOCNBFieldNumber = 11;
|
|
private static readonly pb::FieldCodec<uint> _repeated_gKAPPNGOCNB_codec
|
|
= pb::FieldCodec.ForUInt32(90);
|
|
private readonly pbc::RepeatedField<uint> gKAPPNGOCNB_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> GKAPPNGOCNB {
|
|
get { return gKAPPNGOCNB_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "room_id" field.</summary>
|
|
public const int RoomIdFieldNumber = 4;
|
|
private uint roomId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint RoomId {
|
|
get { return roomId_; }
|
|
set {
|
|
roomId_ = 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 (PosY != other.PosY) return false;
|
|
if (IsUnlock != other.IsUnlock) return false;
|
|
if (CellType != other.CellType) return false;
|
|
if (PosX != other.PosX) return false;
|
|
if (JEHEAOINGMP != other.JEHEAOINGMP) return false;
|
|
if (Id != other.Id) return false;
|
|
if (CellStatus != other.CellStatus) return false;
|
|
if (!object.Equals(PlayerInfo, other.PlayerInfo)) return false;
|
|
if (BICGKJHDPNJ != other.BICGKJHDPNJ) return false;
|
|
if (SpecialType != other.SpecialType) return false;
|
|
if(!gKAPPNGOCNB_.Equals(other.gKAPPNGOCNB_)) return false;
|
|
if (RoomId != other.RoomId) 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 (PosY != 0) hash ^= PosY.GetHashCode();
|
|
if (IsUnlock != false) hash ^= IsUnlock.GetHashCode();
|
|
if (CellType != 0) hash ^= CellType.GetHashCode();
|
|
if (PosX != 0) hash ^= PosX.GetHashCode();
|
|
if (JEHEAOINGMP != false) hash ^= JEHEAOINGMP.GetHashCode();
|
|
if (Id != 0) hash ^= Id.GetHashCode();
|
|
if (CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) hash ^= CellStatus.GetHashCode();
|
|
if (playerInfo_ != null) hash ^= PlayerInfo.GetHashCode();
|
|
if (BICGKJHDPNJ != 0) hash ^= BICGKJHDPNJ.GetHashCode();
|
|
if (SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) hash ^= SpecialType.GetHashCode();
|
|
hash ^= gKAPPNGOCNB_.GetHashCode();
|
|
if (RoomId != 0) hash ^= RoomId.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 (PosX != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(PosX);
|
|
}
|
|
if (SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) {
|
|
output.WriteRawTag(16);
|
|
output.WriteEnum((int) SpecialType);
|
|
}
|
|
if (CellType != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(CellType);
|
|
}
|
|
if (RoomId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(RoomId);
|
|
}
|
|
if (PosY != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(PosY);
|
|
}
|
|
if (Id != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (BICGKJHDPNJ != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(BICGKJHDPNJ);
|
|
}
|
|
if (CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
|
|
output.WriteRawTag(72);
|
|
output.WriteEnum((int) CellStatus);
|
|
}
|
|
if (IsUnlock != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(IsUnlock);
|
|
}
|
|
gKAPPNGOCNB_.WriteTo(output, _repeated_gKAPPNGOCNB_codec);
|
|
if (playerInfo_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(PlayerInfo);
|
|
}
|
|
if (JEHEAOINGMP != false) {
|
|
output.WriteRawTag(112);
|
|
output.WriteBool(JEHEAOINGMP);
|
|
}
|
|
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 (PosX != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(PosX);
|
|
}
|
|
if (SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) {
|
|
output.WriteRawTag(16);
|
|
output.WriteEnum((int) SpecialType);
|
|
}
|
|
if (CellType != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(CellType);
|
|
}
|
|
if (RoomId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(RoomId);
|
|
}
|
|
if (PosY != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(PosY);
|
|
}
|
|
if (Id != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (BICGKJHDPNJ != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(BICGKJHDPNJ);
|
|
}
|
|
if (CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
|
|
output.WriteRawTag(72);
|
|
output.WriteEnum((int) CellStatus);
|
|
}
|
|
if (IsUnlock != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(IsUnlock);
|
|
}
|
|
gKAPPNGOCNB_.WriteTo(ref output, _repeated_gKAPPNGOCNB_codec);
|
|
if (playerInfo_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(PlayerInfo);
|
|
}
|
|
if (JEHEAOINGMP != false) {
|
|
output.WriteRawTag(112);
|
|
output.WriteBool(JEHEAOINGMP);
|
|
}
|
|
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 (PosY != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PosY);
|
|
}
|
|
if (IsUnlock != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (CellType != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CellType);
|
|
}
|
|
if (PosX != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PosX);
|
|
}
|
|
if (JEHEAOINGMP != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
|
}
|
|
if (CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CellStatus);
|
|
}
|
|
if (playerInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerInfo);
|
|
}
|
|
if (BICGKJHDPNJ != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BICGKJHDPNJ);
|
|
}
|
|
if (SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SpecialType);
|
|
}
|
|
size += gKAPPNGOCNB_.CalculateSize(_repeated_gKAPPNGOCNB_codec);
|
|
if (RoomId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoomId);
|
|
}
|
|
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.PosY != 0) {
|
|
PosY = other.PosY;
|
|
}
|
|
if (other.IsUnlock != false) {
|
|
IsUnlock = other.IsUnlock;
|
|
}
|
|
if (other.CellType != 0) {
|
|
CellType = other.CellType;
|
|
}
|
|
if (other.PosX != 0) {
|
|
PosX = other.PosX;
|
|
}
|
|
if (other.JEHEAOINGMP != false) {
|
|
JEHEAOINGMP = other.JEHEAOINGMP;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
|
|
CellStatus = other.CellStatus;
|
|
}
|
|
if (other.playerInfo_ != null) {
|
|
if (playerInfo_ == null) {
|
|
PlayerInfo = new global::EggLink.DanhengServer.Proto.CellAdvanceInfo();
|
|
}
|
|
PlayerInfo.MergeFrom(other.PlayerInfo);
|
|
}
|
|
if (other.BICGKJHDPNJ != 0) {
|
|
BICGKJHDPNJ = other.BICGKJHDPNJ;
|
|
}
|
|
if (other.SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) {
|
|
SpecialType = other.SpecialType;
|
|
}
|
|
gKAPPNGOCNB_.Add(other.gKAPPNGOCNB_);
|
|
if (other.RoomId != 0) {
|
|
RoomId = other.RoomId;
|
|
}
|
|
_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: {
|
|
PosX = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
SpecialType = (global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 24: {
|
|
CellType = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
RoomId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
PosY = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
BICGKJHDPNJ = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
CellStatus = (global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 80: {
|
|
IsUnlock = input.ReadBool();
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
gKAPPNGOCNB_.AddEntriesFrom(input, _repeated_gKAPPNGOCNB_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (playerInfo_ == null) {
|
|
PlayerInfo = new global::EggLink.DanhengServer.Proto.CellAdvanceInfo();
|
|
}
|
|
input.ReadMessage(PlayerInfo);
|
|
break;
|
|
}
|
|
case 112: {
|
|
JEHEAOINGMP = input.ReadBool();
|
|
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: {
|
|
PosX = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
SpecialType = (global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 24: {
|
|
CellType = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
RoomId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
PosY = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
BICGKJHDPNJ = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
CellStatus = (global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 80: {
|
|
IsUnlock = input.ReadBool();
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
gKAPPNGOCNB_.AddEntriesFrom(ref input, _repeated_gKAPPNGOCNB_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (playerInfo_ == null) {
|
|
PlayerInfo = new global::EggLink.DanhengServer.Proto.CellAdvanceInfo();
|
|
}
|
|
input.ReadMessage(PlayerInfo);
|
|
break;
|
|
}
|
|
case 112: {
|
|
JEHEAOINGMP = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|