Files
DanhengServer-OpenSource/Common/Proto/ChessRogueQueryInfo.cs
2024-05-02 15:27:57 +08:00

493 lines
20 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ChessRogueQueryInfo.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 ChessRogueQueryInfo.proto</summary>
public static partial class ChessRogueQueryInfoReflection {
#region Descriptor
/// <summary>File descriptor for ChessRogueQueryInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ChessRogueQueryInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChlDaGVzc1JvZ3VlUXVlcnlJbmZvLnByb3RvGiJDaGVzc1JvZ3VlUXVlcnlE",
"aWZmY3VsdHlJbmZvLnByb3RvGh1DaGVzc1JvZ3VlUXVlcnlBZW9uSW5mby5w",
"cm90bxoaQ2hlc3NSb2d1ZVRhbGVudEluZm8ucHJvdG8aEUNFTEJNQUlLT0xF",
"LnByb3RvGh1DaGVzc1JvZ3VlUXVlcnlEaWNlSW5mby5wcm90byLDAgoTQ2hl",
"c3NSb2d1ZVF1ZXJ5SW5mbxIwChFyb2d1ZV90YWxlbnRfaW5mbxgFIAEoCzIV",
"LkNoZXNzUm9ndWVUYWxlbnRJbmZvEisKCWRpY2VfaW5mbxgJIAEoCzIYLkNo",
"ZXNzUm9ndWVRdWVyeURpY2VJbmZvEhQKDGFyZWFfaWRfbGlzdBgIIAMoDRI8",
"ChVyb2d1ZV9kaWZmaWN1bHR5X2luZm8YAiABKAsyHS5DaGVzc1JvZ3VlUXVl",
"cnlEaWZmY3VsdHlJbmZvEh0KFWV4cGxvcmVkX2FyZWFfaWRfbGlzdBgNIAMo",
"DRIrCglhZW9uX2luZm8YDCABKAsyGC5DaGVzc1JvZ3VlUXVlcnlBZW9uSW5m",
"bxItChdyb2d1ZV92aXJ0dWFsX2l0ZW1faW5mbxgDIAEoCzIMLkNFTEJNQUlL",
"T0xFQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueQueryDiffcultyInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueTalentInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.CELBMAIKOLEReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo), global::EggLink.DanhengServer.Proto.ChessRogueQueryInfo.Parser, new[]{ "RogueTalentInfo", "DiceInfo", "AreaIdList", "RogueDifficultyInfo", "ExploredAreaIdList", "AeonInfo", "RogueVirtualItemInfo" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ChessRogueQueryInfo : pb::IMessage<ChessRogueQueryInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ChessRogueQueryInfo> _parser = new pb::MessageParser<ChessRogueQueryInfo>(() => new ChessRogueQueryInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ChessRogueQueryInfo> 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.ChessRogueQueryInfoReflection.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 ChessRogueQueryInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChessRogueQueryInfo(ChessRogueQueryInfo other) : this() {
rogueTalentInfo_ = other.rogueTalentInfo_ != null ? other.rogueTalentInfo_.Clone() : null;
diceInfo_ = other.diceInfo_ != null ? other.diceInfo_.Clone() : null;
areaIdList_ = other.areaIdList_.Clone();
rogueDifficultyInfo_ = other.rogueDifficultyInfo_ != null ? other.rogueDifficultyInfo_.Clone() : null;
exploredAreaIdList_ = other.exploredAreaIdList_.Clone();
aeonInfo_ = other.aeonInfo_ != null ? other.aeonInfo_.Clone() : null;
rogueVirtualItemInfo_ = other.rogueVirtualItemInfo_ != null ? other.rogueVirtualItemInfo_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChessRogueQueryInfo Clone() {
return new ChessRogueQueryInfo(this);
}
/// <summary>Field number for the "rogue_talent_info" field.</summary>
public const int RogueTalentInfoFieldNumber = 5;
private global::EggLink.DanhengServer.Proto.ChessRogueTalentInfo rogueTalentInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChessRogueTalentInfo RogueTalentInfo {
get { return rogueTalentInfo_; }
set {
rogueTalentInfo_ = value;
}
}
/// <summary>Field number for the "dice_info" field.</summary>
public const int DiceInfoFieldNumber = 9;
private global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo diceInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo DiceInfo {
get { return diceInfo_; }
set {
diceInfo_ = value;
}
}
/// <summary>Field number for the "area_id_list" field.</summary>
public const int AreaIdListFieldNumber = 8;
private static readonly pb::FieldCodec<uint> _repeated_areaIdList_codec
= pb::FieldCodec.ForUInt32(66);
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 "rogue_difficulty_info" field.</summary>
public const int RogueDifficultyInfoFieldNumber = 2;
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 = 13;
private static readonly pb::FieldCodec<uint> _repeated_exploredAreaIdList_codec
= pb::FieldCodec.ForUInt32(106);
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_; }
}
/// <summary>Field number for the "aeon_info" field.</summary>
public const int AeonInfoFieldNumber = 12;
private global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfo aeonInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfo AeonInfo {
get { return aeonInfo_; }
set {
aeonInfo_ = value;
}
}
/// <summary>Field number for the "rogue_virtual_item_info" field.</summary>
public const int RogueVirtualItemInfoFieldNumber = 3;
private global::EggLink.DanhengServer.Proto.CELBMAIKOLE rogueVirtualItemInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.CELBMAIKOLE RogueVirtualItemInfo {
get { return rogueVirtualItemInfo_; }
set {
rogueVirtualItemInfo_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ChessRogueQueryInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ChessRogueQueryInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(RogueTalentInfo, other.RogueTalentInfo)) return false;
if (!object.Equals(DiceInfo, other.DiceInfo)) return false;
if(!areaIdList_.Equals(other.areaIdList_)) return false;
if (!object.Equals(RogueDifficultyInfo, other.RogueDifficultyInfo)) return false;
if(!exploredAreaIdList_.Equals(other.exploredAreaIdList_)) return false;
if (!object.Equals(AeonInfo, other.AeonInfo)) return false;
if (!object.Equals(RogueVirtualItemInfo, other.RogueVirtualItemInfo)) 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 (rogueTalentInfo_ != null) hash ^= RogueTalentInfo.GetHashCode();
if (diceInfo_ != null) hash ^= DiceInfo.GetHashCode();
hash ^= areaIdList_.GetHashCode();
if (rogueDifficultyInfo_ != null) hash ^= RogueDifficultyInfo.GetHashCode();
hash ^= exploredAreaIdList_.GetHashCode();
if (aeonInfo_ != null) hash ^= AeonInfo.GetHashCode();
if (rogueVirtualItemInfo_ != null) hash ^= RogueVirtualItemInfo.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 (rogueDifficultyInfo_ != null) {
output.WriteRawTag(18);
output.WriteMessage(RogueDifficultyInfo);
}
if (rogueVirtualItemInfo_ != null) {
output.WriteRawTag(26);
output.WriteMessage(RogueVirtualItemInfo);
}
if (rogueTalentInfo_ != null) {
output.WriteRawTag(42);
output.WriteMessage(RogueTalentInfo);
}
areaIdList_.WriteTo(output, _repeated_areaIdList_codec);
if (diceInfo_ != null) {
output.WriteRawTag(74);
output.WriteMessage(DiceInfo);
}
if (aeonInfo_ != null) {
output.WriteRawTag(98);
output.WriteMessage(AeonInfo);
}
exploredAreaIdList_.WriteTo(output, _repeated_exploredAreaIdList_codec);
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 (rogueDifficultyInfo_ != null) {
output.WriteRawTag(18);
output.WriteMessage(RogueDifficultyInfo);
}
if (rogueVirtualItemInfo_ != null) {
output.WriteRawTag(26);
output.WriteMessage(RogueVirtualItemInfo);
}
if (rogueTalentInfo_ != null) {
output.WriteRawTag(42);
output.WriteMessage(RogueTalentInfo);
}
areaIdList_.WriteTo(ref output, _repeated_areaIdList_codec);
if (diceInfo_ != null) {
output.WriteRawTag(74);
output.WriteMessage(DiceInfo);
}
if (aeonInfo_ != null) {
output.WriteRawTag(98);
output.WriteMessage(AeonInfo);
}
exploredAreaIdList_.WriteTo(ref output, _repeated_exploredAreaIdList_codec);
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 (rogueTalentInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueTalentInfo);
}
if (diceInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DiceInfo);
}
size += areaIdList_.CalculateSize(_repeated_areaIdList_codec);
if (rogueDifficultyInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueDifficultyInfo);
}
size += exploredAreaIdList_.CalculateSize(_repeated_exploredAreaIdList_codec);
if (aeonInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AeonInfo);
}
if (rogueVirtualItemInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueVirtualItemInfo);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ChessRogueQueryInfo other) {
if (other == null) {
return;
}
if (other.rogueTalentInfo_ != null) {
if (rogueTalentInfo_ == null) {
RogueTalentInfo = new global::EggLink.DanhengServer.Proto.ChessRogueTalentInfo();
}
RogueTalentInfo.MergeFrom(other.RogueTalentInfo);
}
if (other.diceInfo_ != null) {
if (diceInfo_ == null) {
DiceInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo();
}
DiceInfo.MergeFrom(other.DiceInfo);
}
areaIdList_.Add(other.areaIdList_);
if (other.rogueDifficultyInfo_ != null) {
if (rogueDifficultyInfo_ == null) {
RogueDifficultyInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiffcultyInfo();
}
RogueDifficultyInfo.MergeFrom(other.RogueDifficultyInfo);
}
exploredAreaIdList_.Add(other.exploredAreaIdList_);
if (other.aeonInfo_ != null) {
if (aeonInfo_ == null) {
AeonInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfo();
}
AeonInfo.MergeFrom(other.AeonInfo);
}
if (other.rogueVirtualItemInfo_ != null) {
if (rogueVirtualItemInfo_ == null) {
RogueVirtualItemInfo = new global::EggLink.DanhengServer.Proto.CELBMAIKOLE();
}
RogueVirtualItemInfo.MergeFrom(other.RogueVirtualItemInfo);
}
_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 18: {
if (rogueDifficultyInfo_ == null) {
RogueDifficultyInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiffcultyInfo();
}
input.ReadMessage(RogueDifficultyInfo);
break;
}
case 26: {
if (rogueVirtualItemInfo_ == null) {
RogueVirtualItemInfo = new global::EggLink.DanhengServer.Proto.CELBMAIKOLE();
}
input.ReadMessage(RogueVirtualItemInfo);
break;
}
case 42: {
if (rogueTalentInfo_ == null) {
RogueTalentInfo = new global::EggLink.DanhengServer.Proto.ChessRogueTalentInfo();
}
input.ReadMessage(RogueTalentInfo);
break;
}
case 66:
case 64: {
areaIdList_.AddEntriesFrom(input, _repeated_areaIdList_codec);
break;
}
case 74: {
if (diceInfo_ == null) {
DiceInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo();
}
input.ReadMessage(DiceInfo);
break;
}
case 98: {
if (aeonInfo_ == null) {
AeonInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfo();
}
input.ReadMessage(AeonInfo);
break;
}
case 106:
case 104: {
exploredAreaIdList_.AddEntriesFrom(input, _repeated_exploredAreaIdList_codec);
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 18: {
if (rogueDifficultyInfo_ == null) {
RogueDifficultyInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiffcultyInfo();
}
input.ReadMessage(RogueDifficultyInfo);
break;
}
case 26: {
if (rogueVirtualItemInfo_ == null) {
RogueVirtualItemInfo = new global::EggLink.DanhengServer.Proto.CELBMAIKOLE();
}
input.ReadMessage(RogueVirtualItemInfo);
break;
}
case 42: {
if (rogueTalentInfo_ == null) {
RogueTalentInfo = new global::EggLink.DanhengServer.Proto.ChessRogueTalentInfo();
}
input.ReadMessage(RogueTalentInfo);
break;
}
case 66:
case 64: {
areaIdList_.AddEntriesFrom(ref input, _repeated_areaIdList_codec);
break;
}
case 74: {
if (diceInfo_ == null) {
DiceInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo();
}
input.ReadMessage(DiceInfo);
break;
}
case 98: {
if (aeonInfo_ == null) {
AeonInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfo();
}
input.ReadMessage(AeonInfo);
break;
}
case 106:
case 104: {
exploredAreaIdList_.AddEntriesFrom(ref input, _repeated_exploredAreaIdList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code