// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: ChessRogueQueryInfo.proto // #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 { /// Holder for reflection information generated from ChessRogueQueryInfo.proto public static partial class ChessRogueQueryInfoReflection { #region Descriptor /// File descriptor for ChessRogueQueryInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ChessRogueQueryInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChlDaGVzc1JvZ3VlUXVlcnlJbmZvLnByb3RvGhpDaGVzc1JvZ3VlVGFsZW50", "SW5mby5wcm90bxodQ2hlc3NSb2d1ZVF1ZXJ5QWVvbkluZm8ucHJvdG8aHUNo", "ZXNzUm9ndWVRdWVyeURpY2VJbmZvLnByb3RvGiJDaGVzc1JvZ3VlUXVlcnlE", "aWZmY3VsdHlJbmZvLnByb3RvIp8CChNDaGVzc1JvZ3VlUXVlcnlJbmZvEjEK", "D2NoZXNzX2Flb25faW5mbxgNIAEoCzIYLkNoZXNzUm9ndWVRdWVyeUFlb25J", "bmZvEhQKDGFyZWFfaWRfbGlzdBgLIAMoDRIdChVleHBsb3JlZF9hcmVhX2lk", "X2xpc3QYBiADKA0SLwoQdGFsZW50X2luZm9fbGlzdBgMIAEoCzIVLkNoZXNz", "Um9ndWVUYWxlbnRJbmZvEjwKFXJvZ3VlX2RpZmZpY3VsdHlfaW5mbxgBIAEo", "CzIdLkNoZXNzUm9ndWVRdWVyeURpZmZjdWx0eUluZm8SMQoPcXVlcnlfZGlj", "ZV9pbmZvGAIgASgLMhguQ2hlc3NSb2d1ZVF1ZXJ5RGljZUluZm9CHqoCG0Vn", "Z0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueTalentInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChessRogueQueryDiffcultyInfoReflection.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[]{ "ChessAeonInfo", "AreaIdList", "ExploredAreaIdList", "TalentInfoList", "RogueDifficultyInfo", "QueryDiceInfo" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ChessRogueQueryInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChessRogueQueryInfo()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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() { chessAeonInfo_ = other.chessAeonInfo_ != null ? other.chessAeonInfo_.Clone() : null; areaIdList_ = other.areaIdList_.Clone(); exploredAreaIdList_ = other.exploredAreaIdList_.Clone(); talentInfoList_ = other.talentInfoList_ != null ? other.talentInfoList_.Clone() : null; rogueDifficultyInfo_ = other.rogueDifficultyInfo_ != null ? other.rogueDifficultyInfo_.Clone() : null; queryDiceInfo_ = other.queryDiceInfo_ != null ? other.queryDiceInfo_.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); } /// Field number for the "chess_aeon_info" field. public const int ChessAeonInfoFieldNumber = 13; 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; } } /// Field number for the "area_id_list" field. public const int AreaIdListFieldNumber = 11; private static readonly pb::FieldCodec _repeated_areaIdList_codec = pb::FieldCodec.ForUInt32(90); private readonly pbc::RepeatedField areaIdList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField AreaIdList { get { return areaIdList_; } } /// Field number for the "explored_area_id_list" field. public const int ExploredAreaIdListFieldNumber = 6; private static readonly pb::FieldCodec _repeated_exploredAreaIdList_codec = pb::FieldCodec.ForUInt32(50); private readonly pbc::RepeatedField exploredAreaIdList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ExploredAreaIdList { get { return exploredAreaIdList_; } } /// Field number for the "talent_info_list" field. public const int TalentInfoListFieldNumber = 12; 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; } } /// Field number for the "rogue_difficulty_info" field. public const int RogueDifficultyInfoFieldNumber = 1; 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; } } /// Field number for the "query_dice_info" field. 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; } } [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(ChessAeonInfo, other.ChessAeonInfo)) return false; if(!areaIdList_.Equals(other.areaIdList_)) return false; if(!exploredAreaIdList_.Equals(other.exploredAreaIdList_)) return false; if (!object.Equals(TalentInfoList, other.TalentInfoList)) return false; if (!object.Equals(RogueDifficultyInfo, other.RogueDifficultyInfo)) return false; if (!object.Equals(QueryDiceInfo, other.QueryDiceInfo)) 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(); hash ^= exploredAreaIdList_.GetHashCode(); if (talentInfoList_ != null) hash ^= TalentInfoList.GetHashCode(); if (rogueDifficultyInfo_ != null) hash ^= RogueDifficultyInfo.GetHashCode(); if (queryDiceInfo_ != null) hash ^= QueryDiceInfo.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(10); output.WriteMessage(RogueDifficultyInfo); } if (queryDiceInfo_ != null) { output.WriteRawTag(18); output.WriteMessage(QueryDiceInfo); } exploredAreaIdList_.WriteTo(output, _repeated_exploredAreaIdList_codec); areaIdList_.WriteTo(output, _repeated_areaIdList_codec); if (talentInfoList_ != null) { output.WriteRawTag(98); output.WriteMessage(TalentInfoList); } if (chessAeonInfo_ != null) { output.WriteRawTag(106); output.WriteMessage(ChessAeonInfo); } 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(10); output.WriteMessage(RogueDifficultyInfo); } if (queryDiceInfo_ != null) { output.WriteRawTag(18); output.WriteMessage(QueryDiceInfo); } exploredAreaIdList_.WriteTo(ref output, _repeated_exploredAreaIdList_codec); areaIdList_.WriteTo(ref output, _repeated_areaIdList_codec); if (talentInfoList_ != null) { output.WriteRawTag(98); output.WriteMessage(TalentInfoList); } if (chessAeonInfo_ != null) { output.WriteRawTag(106); output.WriteMessage(ChessAeonInfo); } 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); size += exploredAreaIdList_.CalculateSize(_repeated_exploredAreaIdList_codec); if (talentInfoList_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(TalentInfoList); } if (rogueDifficultyInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueDifficultyInfo); } if (queryDiceInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(QueryDiceInfo); } 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.chessAeonInfo_ != null) { if (chessAeonInfo_ == null) { ChessAeonInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfo(); } ChessAeonInfo.MergeFrom(other.ChessAeonInfo); } areaIdList_.Add(other.areaIdList_); exploredAreaIdList_.Add(other.exploredAreaIdList_); 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); } if (other.queryDiceInfo_ != null) { if (queryDiceInfo_ == null) { QueryDiceInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo(); } QueryDiceInfo.MergeFrom(other.QueryDiceInfo); } _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 (rogueDifficultyInfo_ == null) { RogueDifficultyInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiffcultyInfo(); } input.ReadMessage(RogueDifficultyInfo); break; } case 18: { if (queryDiceInfo_ == null) { QueryDiceInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo(); } input.ReadMessage(QueryDiceInfo); break; } case 50: case 48: { exploredAreaIdList_.AddEntriesFrom(input, _repeated_exploredAreaIdList_codec); break; } case 90: case 88: { areaIdList_.AddEntriesFrom(input, _repeated_areaIdList_codec); break; } case 98: { if (talentInfoList_ == null) { TalentInfoList = new global::EggLink.DanhengServer.Proto.ChessRogueTalentInfo(); } input.ReadMessage(TalentInfoList); break; } case 106: { if (chessAeonInfo_ == null) { ChessAeonInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfo(); } input.ReadMessage(ChessAeonInfo); 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 (rogueDifficultyInfo_ == null) { RogueDifficultyInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiffcultyInfo(); } input.ReadMessage(RogueDifficultyInfo); break; } case 18: { if (queryDiceInfo_ == null) { QueryDiceInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryDiceInfo(); } input.ReadMessage(QueryDiceInfo); break; } case 50: case 48: { exploredAreaIdList_.AddEntriesFrom(ref input, _repeated_exploredAreaIdList_codec); break; } case 90: case 88: { areaIdList_.AddEntriesFrom(ref input, _repeated_areaIdList_codec); break; } case 98: { if (talentInfoList_ == null) { TalentInfoList = new global::EggLink.DanhengServer.Proto.ChessRogueTalentInfo(); } input.ReadMessage(TalentInfoList); break; } case 106: { if (chessAeonInfo_ == null) { ChessAeonInfo = new global::EggLink.DanhengServer.Proto.ChessRogueQueryAeonInfo(); } input.ReadMessage(ChessAeonInfo); break; } } } } #endif } #endregion } #endregion Designer generated code