mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
367 lines
13 KiB
C#
367 lines
13 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(
|
|
"Ch5DaGVzc1JvZ3VlRW50ZXJDZWxsU2NSc3AucHJvdG8aGENoZXNzUm9ndWVH",
|
|
"YW1lSW5mby5wcm90bxoUQ2hlc3NSb2d1ZUluZm8ucHJvdG8ihAEKGENoZXNz",
|
|
"Um9ndWVFbnRlckNlbGxTY1JzcBIPCgdyZXRjb2RlGAEgASgNEg8KB2NlbGxf",
|
|
"aWQYDyABKA0SIQoEaW5mbxgDIAEoCzITLkNoZXNzUm9ndWVHYW1lSW5mbxIj",
|
|
"CgpzdGFnZV9pbmZvGAUgASgLMg8uQ2hlc3NSb2d1ZUluZm9CHqoCG0VnZ0xp",
|
|
"bmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueGameInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueInfoReflection.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", "CellId", "Info", "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_;
|
|
cellId_ = other.cellId_;
|
|
info_ = other.info_ != null ? other.info_.Clone() : null;
|
|
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 = 1;
|
|
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 "cell_id" field.</summary>
|
|
public const int CellIdFieldNumber = 15;
|
|
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 "info" field.</summary>
|
|
public const int InfoFieldNumber = 3;
|
|
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 "stage_info" field.</summary>
|
|
public const int StageInfoFieldNumber = 5;
|
|
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 (CellId != other.CellId) return false;
|
|
if (!object.Equals(Info, other.Info)) 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 (CellId != 0) hash ^= CellId.GetHashCode();
|
|
if (info_ != null) hash ^= Info.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 (Retcode != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (info_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(Info);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
if (CellId != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(CellId);
|
|
}
|
|
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 (Retcode != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (info_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(Info);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
if (CellId != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(CellId);
|
|
}
|
|
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 (CellId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CellId);
|
|
}
|
|
if (info_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Info);
|
|
}
|
|
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.CellId != 0) {
|
|
CellId = other.CellId;
|
|
}
|
|
if (other.info_ != null) {
|
|
if (info_ == null) {
|
|
Info = new global::EggLink.DanhengServer.Proto.ChessRogueGameInfo();
|
|
}
|
|
Info.MergeFrom(other.Info);
|
|
}
|
|
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 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (info_ == null) {
|
|
Info = new global::EggLink.DanhengServer.Proto.ChessRogueGameInfo();
|
|
}
|
|
input.ReadMessage(Info);
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.ChessRogueInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
break;
|
|
}
|
|
case 120: {
|
|
CellId = 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: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (info_ == null) {
|
|
Info = new global::EggLink.DanhengServer.Proto.ChessRogueGameInfo();
|
|
}
|
|
input.ReadMessage(Info);
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.ChessRogueInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
break;
|
|
}
|
|
case 120: {
|
|
CellId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|