mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 12:16:03 +08:00
621 lines
21 KiB
C#
621 lines
21 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",
|
|
"Qm9hcmRDZWxsU3RhdHVzLnByb3RvIqACCg5DaGVzc1JvZ3VlQ2VsbBIwCgxz",
|
|
"cGVjaWFsX3R5cGUYBiABKA4yGi5DaGVzc1JvZ3VlQ2VsbFNwZWNpYWxUeXBl",
|
|
"Eg0KBXBvc194GAsgASgNEgoKAmlkGAUgASgNEiQKCnN0YWdlX2luZm8YByAB",
|
|
"KAsyEC5DZWxsQWR2YW5jZUluZm8SLwoLY2VsbF9zdGF0dXMYAyABKA4yGi5D",
|
|
"aGVzc1JvZ3VlQm9hcmRDZWxsU3RhdHVzEhMKC2lzX3VubG9ja2VkGAogASgI",
|
|
"Eg8KB3Jvb21faWQYBCABKA0SEgoKYmxvY2tfdHlwZRgNIAEoDRINCgVwb3Nf",
|
|
"eRgBIAEoDRIRCgltYXJrX3R5cGUYDCABKA0SDgoGdW5sb2NrGAkgASgIQh6q",
|
|
"AhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
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[]{ "SpecialType", "PosX", "Id", "StageInfo", "CellStatus", "IsUnlocked", "RoomId", "BlockType", "PosY", "MarkType", "Unlock" }, 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() {
|
|
specialType_ = other.specialType_;
|
|
posX_ = other.posX_;
|
|
id_ = other.id_;
|
|
stageInfo_ = other.stageInfo_ != null ? other.stageInfo_.Clone() : null;
|
|
cellStatus_ = other.cellStatus_;
|
|
isUnlocked_ = other.isUnlocked_;
|
|
roomId_ = other.roomId_;
|
|
blockType_ = other.blockType_;
|
|
posY_ = other.posY_;
|
|
markType_ = other.markType_;
|
|
unlock_ = other.unlock_;
|
|
_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 "special_type" field.</summary>
|
|
public const int SpecialTypeFieldNumber = 6;
|
|
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 "pos_x" field.</summary>
|
|
public const int PosXFieldNumber = 11;
|
|
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 "id" field.</summary>
|
|
public const int IdFieldNumber = 5;
|
|
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 "stage_info" field.</summary>
|
|
public const int StageInfoFieldNumber = 7;
|
|
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 "cell_status" field.</summary>
|
|
public const int CellStatusFieldNumber = 3;
|
|
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_unlocked" field.</summary>
|
|
public const int IsUnlockedFieldNumber = 10;
|
|
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 "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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "block_type" field.</summary>
|
|
public const int BlockTypeFieldNumber = 13;
|
|
private uint blockType_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BlockType {
|
|
get { return blockType_; }
|
|
set {
|
|
blockType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "pos_y" field.</summary>
|
|
public const int PosYFieldNumber = 1;
|
|
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 "mark_type" field.</summary>
|
|
public const int MarkTypeFieldNumber = 12;
|
|
private uint markType_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MarkType {
|
|
get { return markType_; }
|
|
set {
|
|
markType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "unlock" field.</summary>
|
|
public const int UnlockFieldNumber = 9;
|
|
private bool unlock_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Unlock {
|
|
get { return unlock_; }
|
|
set {
|
|
unlock_ = 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 (SpecialType != other.SpecialType) return false;
|
|
if (PosX != other.PosX) return false;
|
|
if (Id != other.Id) return false;
|
|
if (!object.Equals(StageInfo, other.StageInfo)) return false;
|
|
if (CellStatus != other.CellStatus) return false;
|
|
if (IsUnlocked != other.IsUnlocked) return false;
|
|
if (RoomId != other.RoomId) return false;
|
|
if (BlockType != other.BlockType) return false;
|
|
if (PosY != other.PosY) return false;
|
|
if (MarkType != other.MarkType) return false;
|
|
if (Unlock != other.Unlock) 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 (SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) hash ^= SpecialType.GetHashCode();
|
|
if (PosX != 0) hash ^= PosX.GetHashCode();
|
|
if (Id != 0) hash ^= Id.GetHashCode();
|
|
if (stageInfo_ != null) hash ^= StageInfo.GetHashCode();
|
|
if (CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) hash ^= CellStatus.GetHashCode();
|
|
if (IsUnlocked != false) hash ^= IsUnlocked.GetHashCode();
|
|
if (RoomId != 0) hash ^= RoomId.GetHashCode();
|
|
if (BlockType != 0) hash ^= BlockType.GetHashCode();
|
|
if (PosY != 0) hash ^= PosY.GetHashCode();
|
|
if (MarkType != 0) hash ^= MarkType.GetHashCode();
|
|
if (Unlock != false) hash ^= Unlock.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 (PosY != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(PosY);
|
|
}
|
|
if (CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
|
|
output.WriteRawTag(24);
|
|
output.WriteEnum((int) CellStatus);
|
|
}
|
|
if (RoomId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(RoomId);
|
|
}
|
|
if (Id != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) {
|
|
output.WriteRawTag(48);
|
|
output.WriteEnum((int) SpecialType);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
if (Unlock != false) {
|
|
output.WriteRawTag(72);
|
|
output.WriteBool(Unlock);
|
|
}
|
|
if (IsUnlocked != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(IsUnlocked);
|
|
}
|
|
if (PosX != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(PosX);
|
|
}
|
|
if (MarkType != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(MarkType);
|
|
}
|
|
if (BlockType != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(BlockType);
|
|
}
|
|
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 (PosY != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(PosY);
|
|
}
|
|
if (CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
|
|
output.WriteRawTag(24);
|
|
output.WriteEnum((int) CellStatus);
|
|
}
|
|
if (RoomId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(RoomId);
|
|
}
|
|
if (Id != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) {
|
|
output.WriteRawTag(48);
|
|
output.WriteEnum((int) SpecialType);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
if (Unlock != false) {
|
|
output.WriteRawTag(72);
|
|
output.WriteBool(Unlock);
|
|
}
|
|
if (IsUnlocked != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(IsUnlocked);
|
|
}
|
|
if (PosX != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(PosX);
|
|
}
|
|
if (MarkType != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(MarkType);
|
|
}
|
|
if (BlockType != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(BlockType);
|
|
}
|
|
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 (SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SpecialType);
|
|
}
|
|
if (PosX != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PosX);
|
|
}
|
|
if (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StageInfo);
|
|
}
|
|
if (CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CellStatus);
|
|
}
|
|
if (IsUnlocked != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (RoomId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoomId);
|
|
}
|
|
if (BlockType != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BlockType);
|
|
}
|
|
if (PosY != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PosY);
|
|
}
|
|
if (MarkType != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MarkType);
|
|
}
|
|
if (Unlock != 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.SpecialType != global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType.None) {
|
|
SpecialType = other.SpecialType;
|
|
}
|
|
if (other.PosX != 0) {
|
|
PosX = other.PosX;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.stageInfo_ != null) {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.CellAdvanceInfo();
|
|
}
|
|
StageInfo.MergeFrom(other.StageInfo);
|
|
}
|
|
if (other.CellStatus != global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus.Idle) {
|
|
CellStatus = other.CellStatus;
|
|
}
|
|
if (other.IsUnlocked != false) {
|
|
IsUnlocked = other.IsUnlocked;
|
|
}
|
|
if (other.RoomId != 0) {
|
|
RoomId = other.RoomId;
|
|
}
|
|
if (other.BlockType != 0) {
|
|
BlockType = other.BlockType;
|
|
}
|
|
if (other.PosY != 0) {
|
|
PosY = other.PosY;
|
|
}
|
|
if (other.MarkType != 0) {
|
|
MarkType = other.MarkType;
|
|
}
|
|
if (other.Unlock != false) {
|
|
Unlock = other.Unlock;
|
|
}
|
|
_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: {
|
|
PosY = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
CellStatus = (global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 32: {
|
|
RoomId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
SpecialType = (global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 58: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.CellAdvanceInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
break;
|
|
}
|
|
case 72: {
|
|
Unlock = input.ReadBool();
|
|
break;
|
|
}
|
|
case 80: {
|
|
IsUnlocked = input.ReadBool();
|
|
break;
|
|
}
|
|
case 88: {
|
|
PosX = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
MarkType = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
BlockType = 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: {
|
|
PosY = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
CellStatus = (global::EggLink.DanhengServer.Proto.ChessRogueBoardCellStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 32: {
|
|
RoomId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
SpecialType = (global::EggLink.DanhengServer.Proto.ChessRogueCellSpecialType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 58: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.CellAdvanceInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
break;
|
|
}
|
|
case 72: {
|
|
Unlock = input.ReadBool();
|
|
break;
|
|
}
|
|
case 80: {
|
|
IsUnlocked = input.ReadBool();
|
|
break;
|
|
}
|
|
case 88: {
|
|
PosX = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
MarkType = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
BlockType = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|