Files
DanhengServer-OpenSource/Common/Proto/ChessRogueQueryScRsp.cs
2024-02-24 22:42:19 +08:00

382 lines
14 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(
"ChpDaGVzc1JvZ3VlUXVlcnlTY1JzcC5wcm90bxodQ2hlc3NSb2d1ZU5vdXNR",
"dWVyeUluZm8ucHJvdG8aG0NoZXNzUm9ndWVDdXJyZW50SW5mby5wcm90bxoZ",
"Q2hlc3NSb2d1ZVF1ZXJ5SW5mby5wcm90byKuAQoUQ2hlc3NSb2d1ZVF1ZXJ5",
"U2NSc3ASLAoKcm9ndWVfbm91cxgKIAEoCzIYLkNoZXNzUm9ndWVOb3VzUXVl",
"cnlJbmZvEg8KB3JldGNvZGUYAyABKA0SKQoLTk9HRE5MTkxNSkgYCSABKAsy",
"FC5DaGVzc1JvZ3VlUXVlcnlJbmZvEiwKDGN1cnJlbnRfaW5mbxgMIAEoCzIW",
"LkNoZXNzUm9ndWVDdXJyZW50SW5mb0IeqgIbRWdnTGluay5EYW5oZW5nU2Vy",
"dmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueNousQueryInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueCurrentInfoReflection.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[]{ "RogueNous", "Retcode", "NOGDNLNLMJH", "CurrentInfo" }, 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() {
rogueNous_ = other.rogueNous_ != null ? other.rogueNous_.Clone() : null;
retcode_ = other.retcode_;
nOGDNLNLMJH_ = other.nOGDNLNLMJH_ != null ? other.nOGDNLNLMJH_.Clone() : null;
currentInfo_ = other.currentInfo_ != null ? other.currentInfo_.Clone() : null;
_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_nous" field.</summary>
public const int RogueNousFieldNumber = 10;
private global::EggLink.DanhengServer.Proto.ChessRogueNousQueryInfo rogueNous_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChessRogueNousQueryInfo RogueNous {
get { return rogueNous_; }
set {
rogueNous_ = value;
}
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 3;
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 "NOGDNLNLMJH" field.</summary>
public const int NOGDNLNLMJHFieldNumber = 9;
private global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo nOGDNLNLMJH_;
/// <summary>
///HLODEEONDBF OBGFEMEOJCE = 15;
///HFKELKECMJE MKCLHOMEICF = 4;
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo NOGDNLNLMJH {
get { return nOGDNLNLMJH_; }
set {
nOGDNLNLMJH_ = value;
}
}
/// <summary>Field number for the "current_info" field.</summary>
public const int CurrentInfoFieldNumber = 12;
private global::EggLink.DanhengServer.Proto.ChessRogueCurrentInfo currentInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChessRogueCurrentInfo CurrentInfo {
get { return currentInfo_; }
set {
currentInfo_ = 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(RogueNous, other.RogueNous)) return false;
if (Retcode != other.Retcode) return false;
if (!object.Equals(NOGDNLNLMJH, other.NOGDNLNLMJH)) return false;
if (!object.Equals(CurrentInfo, other.CurrentInfo)) 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 (rogueNous_ != null) hash ^= RogueNous.GetHashCode();
if (Retcode != 0) hash ^= Retcode.GetHashCode();
if (nOGDNLNLMJH_ != null) hash ^= NOGDNLNLMJH.GetHashCode();
if (currentInfo_ != null) hash ^= CurrentInfo.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(24);
output.WriteUInt32(Retcode);
}
if (nOGDNLNLMJH_ != null) {
output.WriteRawTag(74);
output.WriteMessage(NOGDNLNLMJH);
}
if (rogueNous_ != null) {
output.WriteRawTag(82);
output.WriteMessage(RogueNous);
}
if (currentInfo_ != null) {
output.WriteRawTag(98);
output.WriteMessage(CurrentInfo);
}
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(24);
output.WriteUInt32(Retcode);
}
if (nOGDNLNLMJH_ != null) {
output.WriteRawTag(74);
output.WriteMessage(NOGDNLNLMJH);
}
if (rogueNous_ != null) {
output.WriteRawTag(82);
output.WriteMessage(RogueNous);
}
if (currentInfo_ != null) {
output.WriteRawTag(98);
output.WriteMessage(CurrentInfo);
}
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 (rogueNous_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueNous);
}
if (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
if (nOGDNLNLMJH_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(NOGDNLNLMJH);
}
if (currentInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentInfo);
}
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.rogueNous_ != null) {
if (rogueNous_ == null) {
RogueNous = new global::EggLink.DanhengServer.Proto.ChessRogueNousQueryInfo();
}
RogueNous.MergeFrom(other.RogueNous);
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.nOGDNLNLMJH_ != null) {
if (nOGDNLNLMJH_ == null) {
NOGDNLNLMJH = new global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo();
}
NOGDNLNLMJH.MergeFrom(other.NOGDNLNLMJH);
}
if (other.currentInfo_ != null) {
if (currentInfo_ == null) {
CurrentInfo = new global::EggLink.DanhengServer.Proto.ChessRogueCurrentInfo();
}
CurrentInfo.MergeFrom(other.CurrentInfo);
}
_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 24: {
Retcode = input.ReadUInt32();
break;
}
case 74: {
if (nOGDNLNLMJH_ == null) {
NOGDNLNLMJH = new global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo();
}
input.ReadMessage(NOGDNLNLMJH);
break;
}
case 82: {
if (rogueNous_ == null) {
RogueNous = new global::EggLink.DanhengServer.Proto.ChessRogueNousQueryInfo();
}
input.ReadMessage(RogueNous);
break;
}
case 98: {
if (currentInfo_ == null) {
CurrentInfo = new global::EggLink.DanhengServer.Proto.ChessRogueCurrentInfo();
}
input.ReadMessage(CurrentInfo);
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 24: {
Retcode = input.ReadUInt32();
break;
}
case 74: {
if (nOGDNLNLMJH_ == null) {
NOGDNLNLMJH = new global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo();
}
input.ReadMessage(NOGDNLNLMJH);
break;
}
case 82: {
if (rogueNous_ == null) {
RogueNous = new global::EggLink.DanhengServer.Proto.ChessRogueNousQueryInfo();
}
input.ReadMessage(RogueNous);
break;
}
case 98: {
if (currentInfo_ == null) {
CurrentInfo = new global::EggLink.DanhengServer.Proto.ChessRogueCurrentInfo();
}
input.ReadMessage(CurrentInfo);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code