mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
425 lines
16 KiB
C#
425 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ChessRogueQueryScRsp.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 ChessRogueQueryScRsp.proto</summary>
|
|
public static partial class ChessRogueQueryScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ChessRogueQueryScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ChessRogueQueryScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChpDaGVzc1JvZ3VlUXVlcnlTY1JzcC5wcm90bxoaQ2hlc3NSb2d1ZUZpbmlz",
|
|
"aEluZm8ucHJvdG8aF0NoZXNzUm9ndWVHZXRJbmZvLnByb3RvGhhDaGVzc1Jv",
|
|
"Z3VlR2FtZUluZm8ucHJvdG8aGUNoZXNzUm9ndWVRdWVyeUluZm8ucHJvdG8i",
|
|
"zAEKFENoZXNzUm9ndWVRdWVyeVNjUnNwEioKDnJvZ3VlX2dldF9pbmZvGAgg",
|
|
"ASgLMhIuQ2hlc3NSb2d1ZUdldEluZm8SKAoKcXVlcnlfaW5mbxgKIAEoCzIU",
|
|
"LkNoZXNzUm9ndWVRdWVyeUluZm8SIQoEaW5mbxgNIAEoCzITLkNoZXNzUm9n",
|
|
"dWVHYW1lSW5mbxIqCgtmaW5pc2hfaW5mbxgEIAEoCzIVLkNoZXNzUm9ndWVG",
|
|
"aW5pc2hJbmZvEg8KB3JldGNvZGUYCyABKA1CHqoCG0VnZ0xpbmsuRGFuaGVu",
|
|
"Z1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueFinishInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueGetInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueGameInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueQueryInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChessRogueQueryScRsp), global::EggLink.DanhengServer.Proto.ChessRogueQueryScRsp.Parser, new[]{ "RogueGetInfo", "QueryInfo", "Info", "FinishInfo", "Retcode" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ChessRogueQueryScRsp : pb::IMessage<ChessRogueQueryScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ChessRogueQueryScRsp> _parser = new pb::MessageParser<ChessRogueQueryScRsp>(() => new ChessRogueQueryScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ChessRogueQueryScRsp> 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.ChessRogueQueryScRspReflection.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 ChessRogueQueryScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChessRogueQueryScRsp(ChessRogueQueryScRsp other) : this() {
|
|
rogueGetInfo_ = other.rogueGetInfo_ != null ? other.rogueGetInfo_.Clone() : null;
|
|
queryInfo_ = other.queryInfo_ != null ? other.queryInfo_.Clone() : null;
|
|
info_ = other.info_ != null ? other.info_.Clone() : null;
|
|
finishInfo_ = other.finishInfo_ != null ? other.finishInfo_.Clone() : null;
|
|
retcode_ = other.retcode_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChessRogueQueryScRsp Clone() {
|
|
return new ChessRogueQueryScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "rogue_get_info" field.</summary>
|
|
public const int RogueGetInfoFieldNumber = 8;
|
|
private global::EggLink.DanhengServer.Proto.ChessRogueGetInfo rogueGetInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChessRogueGetInfo RogueGetInfo {
|
|
get { return rogueGetInfo_; }
|
|
set {
|
|
rogueGetInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "query_info" field.</summary>
|
|
public const int QueryInfoFieldNumber = 10;
|
|
private global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo queryInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo QueryInfo {
|
|
get { return queryInfo_; }
|
|
set {
|
|
queryInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "info" field.</summary>
|
|
public const int InfoFieldNumber = 13;
|
|
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 "finish_info" field.</summary>
|
|
public const int FinishInfoFieldNumber = 4;
|
|
private global::EggLink.DanhengServer.Proto.ChessRogueFinishInfo finishInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChessRogueFinishInfo FinishInfo {
|
|
get { return finishInfo_; }
|
|
set {
|
|
finishInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 11;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ChessRogueQueryScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ChessRogueQueryScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(RogueGetInfo, other.RogueGetInfo)) return false;
|
|
if (!object.Equals(QueryInfo, other.QueryInfo)) return false;
|
|
if (!object.Equals(Info, other.Info)) return false;
|
|
if (!object.Equals(FinishInfo, other.FinishInfo)) return false;
|
|
if (Retcode != other.Retcode) 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 (rogueGetInfo_ != null) hash ^= RogueGetInfo.GetHashCode();
|
|
if (queryInfo_ != null) hash ^= QueryInfo.GetHashCode();
|
|
if (info_ != null) hash ^= Info.GetHashCode();
|
|
if (finishInfo_ != null) hash ^= FinishInfo.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.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 (finishInfo_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(FinishInfo);
|
|
}
|
|
if (rogueGetInfo_ != null) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(RogueGetInfo);
|
|
}
|
|
if (queryInfo_ != null) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(QueryInfo);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (info_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(Info);
|
|
}
|
|
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 (finishInfo_ != null) {
|
|
output.WriteRawTag(34);
|
|
output.WriteMessage(FinishInfo);
|
|
}
|
|
if (rogueGetInfo_ != null) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(RogueGetInfo);
|
|
}
|
|
if (queryInfo_ != null) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(QueryInfo);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (info_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(Info);
|
|
}
|
|
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 (rogueGetInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueGetInfo);
|
|
}
|
|
if (queryInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(QueryInfo);
|
|
}
|
|
if (info_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Info);
|
|
}
|
|
if (finishInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(FinishInfo);
|
|
}
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ChessRogueQueryScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.rogueGetInfo_ != null) {
|
|
if (rogueGetInfo_ == null) {
|
|
RogueGetInfo = new global::EggLink.DanhengServer.Proto.ChessRogueGetInfo();
|
|
}
|
|
RogueGetInfo.MergeFrom(other.RogueGetInfo);
|
|
}
|
|
if (other.queryInfo_ != null) {
|
|
if (queryInfo_ == null) {
|
|
QueryInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo();
|
|
}
|
|
QueryInfo.MergeFrom(other.QueryInfo);
|
|
}
|
|
if (other.info_ != null) {
|
|
if (info_ == null) {
|
|
Info = new global::EggLink.DanhengServer.Proto.ChessRogueGameInfo();
|
|
}
|
|
Info.MergeFrom(other.Info);
|
|
}
|
|
if (other.finishInfo_ != null) {
|
|
if (finishInfo_ == null) {
|
|
FinishInfo = new global::EggLink.DanhengServer.Proto.ChessRogueFinishInfo();
|
|
}
|
|
FinishInfo.MergeFrom(other.FinishInfo);
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
_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 34: {
|
|
if (finishInfo_ == null) {
|
|
FinishInfo = new global::EggLink.DanhengServer.Proto.ChessRogueFinishInfo();
|
|
}
|
|
input.ReadMessage(FinishInfo);
|
|
break;
|
|
}
|
|
case 66: {
|
|
if (rogueGetInfo_ == null) {
|
|
RogueGetInfo = new global::EggLink.DanhengServer.Proto.ChessRogueGetInfo();
|
|
}
|
|
input.ReadMessage(RogueGetInfo);
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (queryInfo_ == null) {
|
|
QueryInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo();
|
|
}
|
|
input.ReadMessage(QueryInfo);
|
|
break;
|
|
}
|
|
case 88: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (info_ == null) {
|
|
Info = new global::EggLink.DanhengServer.Proto.ChessRogueGameInfo();
|
|
}
|
|
input.ReadMessage(Info);
|
|
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 34: {
|
|
if (finishInfo_ == null) {
|
|
FinishInfo = new global::EggLink.DanhengServer.Proto.ChessRogueFinishInfo();
|
|
}
|
|
input.ReadMessage(FinishInfo);
|
|
break;
|
|
}
|
|
case 66: {
|
|
if (rogueGetInfo_ == null) {
|
|
RogueGetInfo = new global::EggLink.DanhengServer.Proto.ChessRogueGetInfo();
|
|
}
|
|
input.ReadMessage(RogueGetInfo);
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (queryInfo_ == null) {
|
|
QueryInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo();
|
|
}
|
|
input.ReadMessage(QueryInfo);
|
|
break;
|
|
}
|
|
case 88: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (info_ == null) {
|
|
Info = new global::EggLink.DanhengServer.Proto.ChessRogueGameInfo();
|
|
}
|
|
input.ReadMessage(Info);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|