Files
DanhengServer-OpenSource/Proto/ChessRogueGetInfo.cs
2024-10-07 14:59:32 +08:00

446 lines
18 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ChessRogueGetInfo.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 ChessRogueGetInfo.proto</summary>
public static partial class ChessRogueGetInfoReflection {
#region Descriptor
/// <summary>File descriptor for ChessRogueGetInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ChessRogueGetInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChdDaGVzc1JvZ3VlR2V0SW5mby5wcm90bxodQ2hlc3NSb2d1ZVF1ZXJ5QWVv",
"bkluZm8ucHJvdG8aIkNoZXNzUm9ndWVRdWVyeURpZmZjdWx0eUluZm8ucHJv",
"dG8aGkNoZXNzUm9ndWVUYWxlbnRJbmZvLnByb3RvGh1DaGVzc1JvZ3VlUXVl",
"cnlEaWNlSW5mby5wcm90byKdAgoRQ2hlc3NSb2d1ZUdldEluZm8SMQoPY2hl",
"c3NfYWVvbl9pbmZvGAogASgLMhguQ2hlc3NSb2d1ZVF1ZXJ5QWVvbkluZm8S",
"FAoMYXJlYV9pZF9saXN0GAwgAygNEjEKD3F1ZXJ5X2RpY2VfaW5mbxgCIAEo",
"CzIYLkNoZXNzUm9ndWVRdWVyeURpY2VJbmZvEi8KEHRhbGVudF9pbmZvX2xp",
"c3QYASABKAsyFS5DaGVzc1JvZ3VlVGFsZW50SW5mbxI8ChVyb2d1ZV9kaWZm",
"aWN1bHR5X2luZm8YDSABKAsyHS5DaGVzc1JvZ3VlUXVlcnlEaWZmY3VsdHlJ",
"bmZvEh0KFWV4cGxvcmVkX2FyZWFfaWRfbGlzdBgDIAMoDUIeqgIbRWdnTGlu",
"ay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueQueryDiffcultyInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueTalentInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChessRogueGetInfo), global::EggLink.DanhengServer.Proto.ChessRogueGetInfo.Parser, new[]{ "ChessAeonInfo", "AreaIdList", "QueryDiceInfo", "TalentInfoList", "RogueDifficultyInfo", "ExploredAreaIdList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ChessRogueGetInfo : pb::IMessage<ChessRogueGetInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ChessRogueGetInfo> _parser = new pb::MessageParser<ChessRogueGetInfo>(() => new ChessRogueGetInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ChessRogueGetInfo> 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.ChessRogueGetInfoReflection.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 ChessRogueGetInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChessRogueGetInfo(ChessRogueGetInfo other) : this() {
chessAeonInfo_ = other.chessAeonInfo_ != null ? other.chessAeonInfo_.Clone() : null;
areaIdList_ = other.areaIdList_.Clone();
queryDiceInfo_ = other.queryDiceInfo_ != null ? other.queryDiceInfo_.Clone() : null;
talentInfoList_ = other.talentInfoList_ != null ? other.talentInfoList_.Clone() : null;
rogueDifficultyInfo_ = other.rogueDifficultyInfo_ != null ? other.rogueDifficultyInfo_.Clone() : null;
exploredAreaIdList_ = other.exploredAreaIdList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChessRogueGetInfo Clone() {
return new ChessRogueGetInfo(this);
}
/// <summary>Field number for the "chess_aeon_info" field.</summary>
public const int ChessAeonInfoFieldNumber = 10;
private global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfo chessAeonInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfo ChessAeonInfo {
get { return chessAeonInfo_; }
set {
chessAeonInfo_ = value;
}
}
/// <summary>Field number for the "area_id_list" field.</summary>
public const int AreaIdListFieldNumber = 12;
private static readonly pb::FieldCodec<uint> _repeated_areaIdList_codec
= pb::FieldCodec.ForUInt32(98);
private readonly pbc::RepeatedField<uint> areaIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> AreaIdList {
get { return areaIdList_; }
}
/// <summary>Field number for the "query_dice_info" field.</summary>
public const int QueryDiceInfoFieldNumber = 2;
private global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo queryDiceInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo QueryDiceInfo {
get { return queryDiceInfo_; }
set {
queryDiceInfo_ = value;
}
}
/// <summary>Field number for the "talent_info_list" field.</summary>
public const int TalentInfoListFieldNumber = 1;
private global::EggLink.DanhengServer.Proto.ChessRogueTalentInfo talentInfoList_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChessRogueTalentInfo TalentInfoList {
get { return talentInfoList_; }
set {
talentInfoList_ = value;
}
}
/// <summary>Field number for the "rogue_difficulty_info" field.</summary>
public const int RogueDifficultyInfoFieldNumber = 13;
private global::EggLink.DanhengServer.Proto.ChessRogueQueryDiffcultyInfo rogueDifficultyInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChessRogueQueryDiffcultyInfo RogueDifficultyInfo {
get { return rogueDifficultyInfo_; }
set {
rogueDifficultyInfo_ = value;
}
}
/// <summary>Field number for the "explored_area_id_list" field.</summary>
public const int ExploredAreaIdListFieldNumber = 3;
private static readonly pb::FieldCodec<uint> _repeated_exploredAreaIdList_codec
= pb::FieldCodec.ForUInt32(26);
private readonly pbc::RepeatedField<uint> exploredAreaIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> ExploredAreaIdList {
get { return exploredAreaIdList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ChessRogueGetInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ChessRogueGetInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(ChessAeonInfo, other.ChessAeonInfo)) return false;
if(!areaIdList_.Equals(other.areaIdList_)) return false;
if (!object.Equals(QueryDiceInfo, other.QueryDiceInfo)) return false;
if (!object.Equals(TalentInfoList, other.TalentInfoList)) return false;
if (!object.Equals(RogueDifficultyInfo, other.RogueDifficultyInfo)) return false;
if(!exploredAreaIdList_.Equals(other.exploredAreaIdList_)) 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 (chessAeonInfo_ != null) hash ^= ChessAeonInfo.GetHashCode();
hash ^= areaIdList_.GetHashCode();
if (queryDiceInfo_ != null) hash ^= QueryDiceInfo.GetHashCode();
if (talentInfoList_ != null) hash ^= TalentInfoList.GetHashCode();
if (rogueDifficultyInfo_ != null) hash ^= RogueDifficultyInfo.GetHashCode();
hash ^= exploredAreaIdList_.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 (talentInfoList_ != null) {
output.WriteRawTag(10);
output.WriteMessage(TalentInfoList);
}
if (queryDiceInfo_ != null) {
output.WriteRawTag(18);
output.WriteMessage(QueryDiceInfo);
}
exploredAreaIdList_.WriteTo(output, _repeated_exploredAreaIdList_codec);
if (chessAeonInfo_ != null) {
output.WriteRawTag(82);
output.WriteMessage(ChessAeonInfo);
}
areaIdList_.WriteTo(output, _repeated_areaIdList_codec);
if (rogueDifficultyInfo_ != null) {
output.WriteRawTag(106);
output.WriteMessage(RogueDifficultyInfo);
}
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 (talentInfoList_ != null) {
output.WriteRawTag(10);
output.WriteMessage(TalentInfoList);
}
if (queryDiceInfo_ != null) {
output.WriteRawTag(18);
output.WriteMessage(QueryDiceInfo);
}
exploredAreaIdList_.WriteTo(ref output, _repeated_exploredAreaIdList_codec);
if (chessAeonInfo_ != null) {
output.WriteRawTag(82);
output.WriteMessage(ChessAeonInfo);
}
areaIdList_.WriteTo(ref output, _repeated_areaIdList_codec);
if (rogueDifficultyInfo_ != null) {
output.WriteRawTag(106);
output.WriteMessage(RogueDifficultyInfo);
}
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 (chessAeonInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChessAeonInfo);
}
size += areaIdList_.CalculateSize(_repeated_areaIdList_codec);
if (queryDiceInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(QueryDiceInfo);
}
if (talentInfoList_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TalentInfoList);
}
if (rogueDifficultyInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueDifficultyInfo);
}
size += exploredAreaIdList_.CalculateSize(_repeated_exploredAreaIdList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ChessRogueGetInfo other) {
if (other == null) {
return;
}
if (other.chessAeonInfo_ != null) {
if (chessAeonInfo_ == null) {
ChessAeonInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfo();
}
ChessAeonInfo.MergeFrom(other.ChessAeonInfo);
}
areaIdList_.Add(other.areaIdList_);
if (other.queryDiceInfo_ != null) {
if (queryDiceInfo_ == null) {
QueryDiceInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo();
}
QueryDiceInfo.MergeFrom(other.QueryDiceInfo);
}
if (other.talentInfoList_ != null) {
if (talentInfoList_ == null) {
TalentInfoList = new global::EggLink.DanhengServer.Proto.ChessRogueTalentInfo();
}
TalentInfoList.MergeFrom(other.TalentInfoList);
}
if (other.rogueDifficultyInfo_ != null) {
if (rogueDifficultyInfo_ == null) {
RogueDifficultyInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiffcultyInfo();
}
RogueDifficultyInfo.MergeFrom(other.RogueDifficultyInfo);
}
exploredAreaIdList_.Add(other.exploredAreaIdList_);
_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 (talentInfoList_ == null) {
TalentInfoList = new global::EggLink.DanhengServer.Proto.ChessRogueTalentInfo();
}
input.ReadMessage(TalentInfoList);
break;
}
case 18: {
if (queryDiceInfo_ == null) {
QueryDiceInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo();
}
input.ReadMessage(QueryDiceInfo);
break;
}
case 26:
case 24: {
exploredAreaIdList_.AddEntriesFrom(input, _repeated_exploredAreaIdList_codec);
break;
}
case 82: {
if (chessAeonInfo_ == null) {
ChessAeonInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfo();
}
input.ReadMessage(ChessAeonInfo);
break;
}
case 98:
case 96: {
areaIdList_.AddEntriesFrom(input, _repeated_areaIdList_codec);
break;
}
case 106: {
if (rogueDifficultyInfo_ == null) {
RogueDifficultyInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiffcultyInfo();
}
input.ReadMessage(RogueDifficultyInfo);
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 (talentInfoList_ == null) {
TalentInfoList = new global::EggLink.DanhengServer.Proto.ChessRogueTalentInfo();
}
input.ReadMessage(TalentInfoList);
break;
}
case 18: {
if (queryDiceInfo_ == null) {
QueryDiceInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo();
}
input.ReadMessage(QueryDiceInfo);
break;
}
case 26:
case 24: {
exploredAreaIdList_.AddEntriesFrom(ref input, _repeated_exploredAreaIdList_codec);
break;
}
case 82: {
if (chessAeonInfo_ == null) {
ChessAeonInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfo();
}
input.ReadMessage(ChessAeonInfo);
break;
}
case 98:
case 96: {
areaIdList_.AddEntriesFrom(ref input, _repeated_areaIdList_codec);
break;
}
case 106: {
if (rogueDifficultyInfo_ == null) {
RogueDifficultyInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiffcultyInfo();
}
input.ReadMessage(RogueDifficultyInfo);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code