mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
415 lines
15 KiB
C#
415 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ChessRogueEnterCellScRsp.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 ChessRogueEnterCellScRsp.proto</summary>
|
|
public static partial class ChessRogueEnterCellScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ChessRogueEnterCellScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ChessRogueEnterCellScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ch5DaGVzc1JvZ3VlRW50ZXJDZWxsU2NSc3AucHJvdG8aFENoZXNzUm9ndWVJ",
|
|
"bmZvLnByb3RvGhtDaGVzc1JvZ3VlQ3VycmVudEluZm8ucHJvdG8aGENoZXNz",
|
|
"Um9ndWVHYW1lSW5mby5wcm90byK4AQoYQ2hlc3NSb2d1ZUVudGVyQ2VsbFNj",
|
|
"UnNwEg8KB3JldGNvZGUYDCABKA0SMgoScm9ndWVfY3VycmVudF9pbmZvGA8g",
|
|
"ASgLMhYuQ2hlc3NSb2d1ZUN1cnJlbnRJbmZvEiEKBGluZm8YAiABKAsyEy5D",
|
|
"aGVzc1JvZ3VlR2FtZUluZm8SDwoHY2VsbF9pZBgLIAEoDRIjCgpzdGFnZV9p",
|
|
"bmZvGAkgASgLMg8uQ2hlc3NSb2d1ZUluZm9CHqoCG0VnZ0xpbmsuRGFuaGVu",
|
|
"Z1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueCurrentInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueGameInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChessRogueEnterCellScRsp), global::EggLink.DanhengServer.Proto.ChessRogueEnterCellScRsp.Parser, new[]{ "Retcode", "RogueCurrentInfo", "Info", "CellId", "StageInfo" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ChessRogueEnterCellScRsp : pb::IMessage<ChessRogueEnterCellScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ChessRogueEnterCellScRsp> _parser = new pb::MessageParser<ChessRogueEnterCellScRsp>(() => new ChessRogueEnterCellScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ChessRogueEnterCellScRsp> 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.ChessRogueEnterCellScRspReflection.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 ChessRogueEnterCellScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChessRogueEnterCellScRsp(ChessRogueEnterCellScRsp other) : this() {
|
|
retcode_ = other.retcode_;
|
|
rogueCurrentInfo_ = other.rogueCurrentInfo_ != null ? other.rogueCurrentInfo_.Clone() : null;
|
|
info_ = other.info_ != null ? other.info_.Clone() : null;
|
|
cellId_ = other.cellId_;
|
|
stageInfo_ = other.stageInfo_ != null ? other.stageInfo_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChessRogueEnterCellScRsp Clone() {
|
|
return new ChessRogueEnterCellScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 12;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "rogue_current_info" field.</summary>
|
|
public const int RogueCurrentInfoFieldNumber = 15;
|
|
private global::EggLink.DanhengServer.Proto.ChessRogueCurrentInfo rogueCurrentInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChessRogueCurrentInfo RogueCurrentInfo {
|
|
get { return rogueCurrentInfo_; }
|
|
set {
|
|
rogueCurrentInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "info" field.</summary>
|
|
public const int InfoFieldNumber = 2;
|
|
private global::EggLink.DanhengServer.Proto.ChessRogueGameInfo info_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChessRogueGameInfo Info {
|
|
get { return info_; }
|
|
set {
|
|
info_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cell_id" field.</summary>
|
|
public const int CellIdFieldNumber = 11;
|
|
private uint cellId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CellId {
|
|
get { return cellId_; }
|
|
set {
|
|
cellId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "stage_info" field.</summary>
|
|
public const int StageInfoFieldNumber = 9;
|
|
private global::EggLink.DanhengServer.Proto.ChessRogueInfo stageInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChessRogueInfo StageInfo {
|
|
get { return stageInfo_; }
|
|
set {
|
|
stageInfo_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ChessRogueEnterCellScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ChessRogueEnterCellScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Retcode != other.Retcode) return false;
|
|
if (!object.Equals(RogueCurrentInfo, other.RogueCurrentInfo)) return false;
|
|
if (!object.Equals(Info, other.Info)) return false;
|
|
if (CellId != other.CellId) return false;
|
|
if (!object.Equals(StageInfo, other.StageInfo)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
if (rogueCurrentInfo_ != null) hash ^= RogueCurrentInfo.GetHashCode();
|
|
if (info_ != null) hash ^= Info.GetHashCode();
|
|
if (CellId != 0) hash ^= CellId.GetHashCode();
|
|
if (stageInfo_ != null) hash ^= StageInfo.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 (info_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Info);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
if (CellId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(CellId);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (rogueCurrentInfo_ != null) {
|
|
output.WriteRawTag(122);
|
|
output.WriteMessage(RogueCurrentInfo);
|
|
}
|
|
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 (info_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Info);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
if (CellId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(CellId);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (rogueCurrentInfo_ != null) {
|
|
output.WriteRawTag(122);
|
|
output.WriteMessage(RogueCurrentInfo);
|
|
}
|
|
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 (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (rogueCurrentInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueCurrentInfo);
|
|
}
|
|
if (info_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Info);
|
|
}
|
|
if (CellId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CellId);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StageInfo);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ChessRogueEnterCellScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
if (other.rogueCurrentInfo_ != null) {
|
|
if (rogueCurrentInfo_ == null) {
|
|
RogueCurrentInfo = new global::EggLink.DanhengServer.Proto.ChessRogueCurrentInfo();
|
|
}
|
|
RogueCurrentInfo.MergeFrom(other.RogueCurrentInfo);
|
|
}
|
|
if (other.info_ != null) {
|
|
if (info_ == null) {
|
|
Info = new global::EggLink.DanhengServer.Proto.ChessRogueGameInfo();
|
|
}
|
|
Info.MergeFrom(other.Info);
|
|
}
|
|
if (other.CellId != 0) {
|
|
CellId = other.CellId;
|
|
}
|
|
if (other.stageInfo_ != null) {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.ChessRogueInfo();
|
|
}
|
|
StageInfo.MergeFrom(other.StageInfo);
|
|
}
|
|
_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 18: {
|
|
if (info_ == null) {
|
|
Info = new global::EggLink.DanhengServer.Proto.ChessRogueGameInfo();
|
|
}
|
|
input.ReadMessage(Info);
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.ChessRogueInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
break;
|
|
}
|
|
case 88: {
|
|
CellId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 122: {
|
|
if (rogueCurrentInfo_ == null) {
|
|
RogueCurrentInfo = new global::EggLink.DanhengServer.Proto.ChessRogueCurrentInfo();
|
|
}
|
|
input.ReadMessage(RogueCurrentInfo);
|
|
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 18: {
|
|
if (info_ == null) {
|
|
Info = new global::EggLink.DanhengServer.Proto.ChessRogueGameInfo();
|
|
}
|
|
input.ReadMessage(Info);
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.ChessRogueInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
break;
|
|
}
|
|
case 88: {
|
|
CellId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 122: {
|
|
if (rogueCurrentInfo_ == null) {
|
|
RogueCurrentInfo = new global::EggLink.DanhengServer.Proto.ChessRogueCurrentInfo();
|
|
}
|
|
input.ReadMessage(RogueCurrentInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|