mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
473 lines
18 KiB
C#
473 lines
18 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ChessRogueGiveUpScRsp.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 ChessRogueGiveUpScRsp.proto</summary>
|
|
public static partial class ChessRogueGiveUpScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ChessRogueGiveUpScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ChessRogueGiveUpScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChtDaGVzc1JvZ3VlR2l2ZVVwU2NSc3AucHJvdG8aF0NoZXNzUm9ndWVHZXRJ",
|
|
"bmZvLnByb3RvGhRDaGVzc1JvZ3VlSW5mby5wcm90bxoYQ2hlc3NSb2d1ZUFl",
|
|
"b25JbmZvLnByb3RvGhlDaGVzc1JvZ3VlUXVlcnlJbmZvLnByb3RvGhpDaGVz",
|
|
"c1JvZ3VlRmluaXNoSW5mby5wcm90byL9AQoVQ2hlc3NSb2d1ZUdpdmVVcFNj",
|
|
"UnNwEioKC2ZpbmlzaF9pbmZvGAogASgLMhUuQ2hlc3NSb2d1ZUZpbmlzaElu",
|
|
"Zm8SLAoPcm9ndWVfYWVvbl9pbmZvGAEgASgLMhMuQ2hlc3NSb2d1ZUFlb25J",
|
|
"bmZvEg8KB3JldGNvZGUYDyABKA0SKAoKcXVlcnlfaW5mbxgLIAEoCzIULkNo",
|
|
"ZXNzUm9ndWVRdWVyeUluZm8SKgoOcm9ndWVfZ2V0X2luZm8YDSABKAsyEi5D",
|
|
"aGVzc1JvZ3VlR2V0SW5mbxIjCgpzdGFnZV9pbmZvGAYgASgLMg8uQ2hlc3NS",
|
|
"b2d1ZUluZm9CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJv",
|
|
"dG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueGetInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueAeonInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueQueryInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueFinishInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChessRogueGiveUpScRsp), global::EggLink.DanhengServer.Proto.ChessRogueGiveUpScRsp.Parser, new[]{ "FinishInfo", "RogueAeonInfo", "Retcode", "QueryInfo", "RogueGetInfo", "StageInfo" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ChessRogueGiveUpScRsp : pb::IMessage<ChessRogueGiveUpScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ChessRogueGiveUpScRsp> _parser = new pb::MessageParser<ChessRogueGiveUpScRsp>(() => new ChessRogueGiveUpScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ChessRogueGiveUpScRsp> 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.ChessRogueGiveUpScRspReflection.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 ChessRogueGiveUpScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ChessRogueGiveUpScRsp(ChessRogueGiveUpScRsp other) : this() {
|
|
finishInfo_ = other.finishInfo_ != null ? other.finishInfo_.Clone() : null;
|
|
rogueAeonInfo_ = other.rogueAeonInfo_ != null ? other.rogueAeonInfo_.Clone() : null;
|
|
retcode_ = other.retcode_;
|
|
queryInfo_ = other.queryInfo_ != null ? other.queryInfo_.Clone() : null;
|
|
rogueGetInfo_ = other.rogueGetInfo_ != null ? other.rogueGetInfo_.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 ChessRogueGiveUpScRsp Clone() {
|
|
return new ChessRogueGiveUpScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "finish_info" field.</summary>
|
|
public const int FinishInfoFieldNumber = 10;
|
|
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 "rogue_aeon_info" field.</summary>
|
|
public const int RogueAeonInfoFieldNumber = 1;
|
|
private global::EggLink.DanhengServer.Proto.ChessRogueAeonInfo rogueAeonInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChessRogueAeonInfo RogueAeonInfo {
|
|
get { return rogueAeonInfo_; }
|
|
set {
|
|
rogueAeonInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 15;
|
|
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 "query_info" field.</summary>
|
|
public const int QueryInfoFieldNumber = 11;
|
|
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 "rogue_get_info" field.</summary>
|
|
public const int RogueGetInfoFieldNumber = 13;
|
|
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 "stage_info" field.</summary>
|
|
public const int StageInfoFieldNumber = 6;
|
|
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 ChessRogueGiveUpScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ChessRogueGiveUpScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(FinishInfo, other.FinishInfo)) return false;
|
|
if (!object.Equals(RogueAeonInfo, other.RogueAeonInfo)) return false;
|
|
if (Retcode != other.Retcode) return false;
|
|
if (!object.Equals(QueryInfo, other.QueryInfo)) return false;
|
|
if (!object.Equals(RogueGetInfo, other.RogueGetInfo)) 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 (finishInfo_ != null) hash ^= FinishInfo.GetHashCode();
|
|
if (rogueAeonInfo_ != null) hash ^= RogueAeonInfo.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
if (queryInfo_ != null) hash ^= QueryInfo.GetHashCode();
|
|
if (rogueGetInfo_ != null) hash ^= RogueGetInfo.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 (rogueAeonInfo_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(RogueAeonInfo);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(50);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
if (finishInfo_ != null) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(FinishInfo);
|
|
}
|
|
if (queryInfo_ != null) {
|
|
output.WriteRawTag(90);
|
|
output.WriteMessage(QueryInfo);
|
|
}
|
|
if (rogueGetInfo_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(RogueGetInfo);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
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 (rogueAeonInfo_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(RogueAeonInfo);
|
|
}
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(50);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
if (finishInfo_ != null) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(FinishInfo);
|
|
}
|
|
if (queryInfo_ != null) {
|
|
output.WriteRawTag(90);
|
|
output.WriteMessage(QueryInfo);
|
|
}
|
|
if (rogueGetInfo_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(RogueGetInfo);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
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 (finishInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(FinishInfo);
|
|
}
|
|
if (rogueAeonInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueAeonInfo);
|
|
}
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (queryInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(QueryInfo);
|
|
}
|
|
if (rogueGetInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueGetInfo);
|
|
}
|
|
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(ChessRogueGiveUpScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.finishInfo_ != null) {
|
|
if (finishInfo_ == null) {
|
|
FinishInfo = new global::EggLink.DanhengServer.Proto.ChessRogueFinishInfo();
|
|
}
|
|
FinishInfo.MergeFrom(other.FinishInfo);
|
|
}
|
|
if (other.rogueAeonInfo_ != null) {
|
|
if (rogueAeonInfo_ == null) {
|
|
RogueAeonInfo = new global::EggLink.DanhengServer.Proto.ChessRogueAeonInfo();
|
|
}
|
|
RogueAeonInfo.MergeFrom(other.RogueAeonInfo);
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
if (other.queryInfo_ != null) {
|
|
if (queryInfo_ == null) {
|
|
QueryInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo();
|
|
}
|
|
QueryInfo.MergeFrom(other.QueryInfo);
|
|
}
|
|
if (other.rogueGetInfo_ != null) {
|
|
if (rogueGetInfo_ == null) {
|
|
RogueGetInfo = new global::EggLink.DanhengServer.Proto.ChessRogueGetInfo();
|
|
}
|
|
RogueGetInfo.MergeFrom(other.RogueGetInfo);
|
|
}
|
|
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 10: {
|
|
if (rogueAeonInfo_ == null) {
|
|
RogueAeonInfo = new global::EggLink.DanhengServer.Proto.ChessRogueAeonInfo();
|
|
}
|
|
input.ReadMessage(RogueAeonInfo);
|
|
break;
|
|
}
|
|
case 50: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.ChessRogueInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (finishInfo_ == null) {
|
|
FinishInfo = new global::EggLink.DanhengServer.Proto.ChessRogueFinishInfo();
|
|
}
|
|
input.ReadMessage(FinishInfo);
|
|
break;
|
|
}
|
|
case 90: {
|
|
if (queryInfo_ == null) {
|
|
QueryInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo();
|
|
}
|
|
input.ReadMessage(QueryInfo);
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (rogueGetInfo_ == null) {
|
|
RogueGetInfo = new global::EggLink.DanhengServer.Proto.ChessRogueGetInfo();
|
|
}
|
|
input.ReadMessage(RogueGetInfo);
|
|
break;
|
|
}
|
|
case 120: {
|
|
Retcode = 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 10: {
|
|
if (rogueAeonInfo_ == null) {
|
|
RogueAeonInfo = new global::EggLink.DanhengServer.Proto.ChessRogueAeonInfo();
|
|
}
|
|
input.ReadMessage(RogueAeonInfo);
|
|
break;
|
|
}
|
|
case 50: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.ChessRogueInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (finishInfo_ == null) {
|
|
FinishInfo = new global::EggLink.DanhengServer.Proto.ChessRogueFinishInfo();
|
|
}
|
|
input.ReadMessage(FinishInfo);
|
|
break;
|
|
}
|
|
case 90: {
|
|
if (queryInfo_ == null) {
|
|
QueryInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo();
|
|
}
|
|
input.ReadMessage(QueryInfo);
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (rogueGetInfo_ == null) {
|
|
RogueGetInfo = new global::EggLink.DanhengServer.Proto.ChessRogueGetInfo();
|
|
}
|
|
input.ReadMessage(RogueGetInfo);
|
|
break;
|
|
}
|
|
case 120: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|