// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: RogueMagicGetInfo.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 RogueMagicGetInfo.proto public static partial class RogueMagicGetInfoReflection { #region Descriptor /// File descriptor for RogueMagicGetInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RogueMagicGetInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChdSb2d1ZU1hZ2ljR2V0SW5mby5wcm90bxobUm9ndWVNYWdpY1NjZXB0ZXJJ", "bmZvLnByb3RvGhpSb2d1ZU1hZ2ljVGFsZW50SW5mby5wcm90bxoZUm9ndWVN", "YWdpY1N0b3J5SW5mby5wcm90bxoYUm9ndWVNYWdpY0FyZWFJbmZvLnByb3Rv", "GhhSb2d1ZU1hZ2ljVW5pdEluZm8ucHJvdG8aHlJvZ3VlTWFnaWNEaWZmaWN1", "bHR5SW5mby5wcm90byKBAwoRUm9ndWVNYWdpY0dldEluZm8SHgoWdW5sb2Nr", "X3N0eWxlX3R5cGVfbGlzdBgOIAMoDRI2Chdyb2d1ZV9tYWdpY190YWxlbnRf", "aW5mbxgKIAEoCzIVLlJvZ3VlTWFnaWNUYWxlbnRJbmZvEjcKGnJvZ3VlX21h", "Z2ljX3VuaXRfaW5mb19saXN0GAsgAygLMhMuUm9ndWVNYWdpY1VuaXRJbmZv", "Ej0KHXJvZ3VlX21hZ2ljX3NjZXB0ZXJfaW5mb19saXN0GAUgAygLMhYuUm9n", "dWVNYWdpY1NjZXB0ZXJJbmZvEj4KG3JvZ3VlX3RvdXJuX2RpZmZpY3VsdHlf", "aW5mbxgJIAMoCzIZLlJvZ3VlTWFnaWNEaWZmaWN1bHR5SW5mbxIyChVyb2d1", "ZV90b3Vybl9hcmVhX2luZm8YCCADKAsyEy5Sb2d1ZU1hZ2ljQXJlYUluZm8S", "KAoKc3RvcnlfaW5mbxgDIAEoCzIULlJvZ3VlTWFnaWNTdG9yeUluZm9CHqoC", "G0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueMagicScepterInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueMagicTalentInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueMagicStoryInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueMagicAreaInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueMagicUnitInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueMagicDifficultyInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueMagicGetInfo), global::EggLink.DanhengServer.Proto.RogueMagicGetInfo.Parser, new[]{ "UnlockStyleTypeList", "RogueMagicTalentInfo", "RogueMagicUnitInfoList", "RogueMagicScepterInfoList", "RogueTournDifficultyInfo", "RogueTournAreaInfo", "StoryInfo" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RogueMagicGetInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RogueMagicGetInfo()); 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.RogueMagicGetInfoReflection.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 RogueMagicGetInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueMagicGetInfo(RogueMagicGetInfo other) : this() { unlockStyleTypeList_ = other.unlockStyleTypeList_.Clone(); rogueMagicTalentInfo_ = other.rogueMagicTalentInfo_ != null ? other.rogueMagicTalentInfo_.Clone() : null; rogueMagicUnitInfoList_ = other.rogueMagicUnitInfoList_.Clone(); rogueMagicScepterInfoList_ = other.rogueMagicScepterInfoList_.Clone(); rogueTournDifficultyInfo_ = other.rogueTournDifficultyInfo_.Clone(); rogueTournAreaInfo_ = other.rogueTournAreaInfo_.Clone(); storyInfo_ = other.storyInfo_ != null ? other.storyInfo_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueMagicGetInfo Clone() { return new RogueMagicGetInfo(this); } /// Field number for the "unlock_style_type_list" field. public const int UnlockStyleTypeListFieldNumber = 14; private static readonly pb::FieldCodec _repeated_unlockStyleTypeList_codec = pb::FieldCodec.ForUInt32(114); private readonly pbc::RepeatedField unlockStyleTypeList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField UnlockStyleTypeList { get { return unlockStyleTypeList_; } } /// Field number for the "rogue_magic_talent_info" field. public const int RogueMagicTalentInfoFieldNumber = 10; private global::EggLink.DanhengServer.Proto.RogueMagicTalentInfo rogueMagicTalentInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RogueMagicTalentInfo RogueMagicTalentInfo { get { return rogueMagicTalentInfo_; } set { rogueMagicTalentInfo_ = value; } } /// Field number for the "rogue_magic_unit_info_list" field. public const int RogueMagicUnitInfoListFieldNumber = 11; private static readonly pb::FieldCodec _repeated_rogueMagicUnitInfoList_codec = pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.RogueMagicUnitInfo.Parser); private readonly pbc::RepeatedField rogueMagicUnitInfoList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField RogueMagicUnitInfoList { get { return rogueMagicUnitInfoList_; } } /// Field number for the "rogue_magic_scepter_info_list" field. public const int RogueMagicScepterInfoListFieldNumber = 5; private static readonly pb::FieldCodec _repeated_rogueMagicScepterInfoList_codec = pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.RogueMagicScepterInfo.Parser); private readonly pbc::RepeatedField rogueMagicScepterInfoList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField RogueMagicScepterInfoList { get { return rogueMagicScepterInfoList_; } } /// Field number for the "rogue_tourn_difficulty_info" field. public const int RogueTournDifficultyInfoFieldNumber = 9; private static readonly pb::FieldCodec _repeated_rogueTournDifficultyInfo_codec = pb::FieldCodec.ForMessage(74, global::EggLink.DanhengServer.Proto.RogueMagicDifficultyInfo.Parser); private readonly pbc::RepeatedField rogueTournDifficultyInfo_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField RogueTournDifficultyInfo { get { return rogueTournDifficultyInfo_; } } /// Field number for the "rogue_tourn_area_info" field. public const int RogueTournAreaInfoFieldNumber = 8; private static readonly pb::FieldCodec _repeated_rogueTournAreaInfo_codec = pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.RogueMagicAreaInfo.Parser); private readonly pbc::RepeatedField rogueTournAreaInfo_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField RogueTournAreaInfo { get { return rogueTournAreaInfo_; } } /// Field number for the "story_info" field. public const int StoryInfoFieldNumber = 3; private global::EggLink.DanhengServer.Proto.RogueMagicStoryInfo storyInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RogueMagicStoryInfo StoryInfo { get { return storyInfo_; } set { storyInfo_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RogueMagicGetInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RogueMagicGetInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!unlockStyleTypeList_.Equals(other.unlockStyleTypeList_)) return false; if (!object.Equals(RogueMagicTalentInfo, other.RogueMagicTalentInfo)) return false; if(!rogueMagicUnitInfoList_.Equals(other.rogueMagicUnitInfoList_)) return false; if(!rogueMagicScepterInfoList_.Equals(other.rogueMagicScepterInfoList_)) return false; if(!rogueTournDifficultyInfo_.Equals(other.rogueTournDifficultyInfo_)) return false; if(!rogueTournAreaInfo_.Equals(other.rogueTournAreaInfo_)) return false; if (!object.Equals(StoryInfo, other.StoryInfo)) 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; hash ^= unlockStyleTypeList_.GetHashCode(); if (rogueMagicTalentInfo_ != null) hash ^= RogueMagicTalentInfo.GetHashCode(); hash ^= rogueMagicUnitInfoList_.GetHashCode(); hash ^= rogueMagicScepterInfoList_.GetHashCode(); hash ^= rogueTournDifficultyInfo_.GetHashCode(); hash ^= rogueTournAreaInfo_.GetHashCode(); if (storyInfo_ != null) hash ^= StoryInfo.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 (storyInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(StoryInfo); } rogueMagicScepterInfoList_.WriteTo(output, _repeated_rogueMagicScepterInfoList_codec); rogueTournAreaInfo_.WriteTo(output, _repeated_rogueTournAreaInfo_codec); rogueTournDifficultyInfo_.WriteTo(output, _repeated_rogueTournDifficultyInfo_codec); if (rogueMagicTalentInfo_ != null) { output.WriteRawTag(82); output.WriteMessage(RogueMagicTalentInfo); } rogueMagicUnitInfoList_.WriteTo(output, _repeated_rogueMagicUnitInfoList_codec); unlockStyleTypeList_.WriteTo(output, _repeated_unlockStyleTypeList_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 (storyInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(StoryInfo); } rogueMagicScepterInfoList_.WriteTo(ref output, _repeated_rogueMagicScepterInfoList_codec); rogueTournAreaInfo_.WriteTo(ref output, _repeated_rogueTournAreaInfo_codec); rogueTournDifficultyInfo_.WriteTo(ref output, _repeated_rogueTournDifficultyInfo_codec); if (rogueMagicTalentInfo_ != null) { output.WriteRawTag(82); output.WriteMessage(RogueMagicTalentInfo); } rogueMagicUnitInfoList_.WriteTo(ref output, _repeated_rogueMagicUnitInfoList_codec); unlockStyleTypeList_.WriteTo(ref output, _repeated_unlockStyleTypeList_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; size += unlockStyleTypeList_.CalculateSize(_repeated_unlockStyleTypeList_codec); if (rogueMagicTalentInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueMagicTalentInfo); } size += rogueMagicUnitInfoList_.CalculateSize(_repeated_rogueMagicUnitInfoList_codec); size += rogueMagicScepterInfoList_.CalculateSize(_repeated_rogueMagicScepterInfoList_codec); size += rogueTournDifficultyInfo_.CalculateSize(_repeated_rogueTournDifficultyInfo_codec); size += rogueTournAreaInfo_.CalculateSize(_repeated_rogueTournAreaInfo_codec); if (storyInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(StoryInfo); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RogueMagicGetInfo other) { if (other == null) { return; } unlockStyleTypeList_.Add(other.unlockStyleTypeList_); if (other.rogueMagicTalentInfo_ != null) { if (rogueMagicTalentInfo_ == null) { RogueMagicTalentInfo = new global::EggLink.DanhengServer.Proto.RogueMagicTalentInfo(); } RogueMagicTalentInfo.MergeFrom(other.RogueMagicTalentInfo); } rogueMagicUnitInfoList_.Add(other.rogueMagicUnitInfoList_); rogueMagicScepterInfoList_.Add(other.rogueMagicScepterInfoList_); rogueTournDifficultyInfo_.Add(other.rogueTournDifficultyInfo_); rogueTournAreaInfo_.Add(other.rogueTournAreaInfo_); if (other.storyInfo_ != null) { if (storyInfo_ == null) { StoryInfo = new global::EggLink.DanhengServer.Proto.RogueMagicStoryInfo(); } StoryInfo.MergeFrom(other.StoryInfo); } _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 26: { if (storyInfo_ == null) { StoryInfo = new global::EggLink.DanhengServer.Proto.RogueMagicStoryInfo(); } input.ReadMessage(StoryInfo); break; } case 42: { rogueMagicScepterInfoList_.AddEntriesFrom(input, _repeated_rogueMagicScepterInfoList_codec); break; } case 66: { rogueTournAreaInfo_.AddEntriesFrom(input, _repeated_rogueTournAreaInfo_codec); break; } case 74: { rogueTournDifficultyInfo_.AddEntriesFrom(input, _repeated_rogueTournDifficultyInfo_codec); break; } case 82: { if (rogueMagicTalentInfo_ == null) { RogueMagicTalentInfo = new global::EggLink.DanhengServer.Proto.RogueMagicTalentInfo(); } input.ReadMessage(RogueMagicTalentInfo); break; } case 90: { rogueMagicUnitInfoList_.AddEntriesFrom(input, _repeated_rogueMagicUnitInfoList_codec); break; } case 114: case 112: { unlockStyleTypeList_.AddEntriesFrom(input, _repeated_unlockStyleTypeList_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 26: { if (storyInfo_ == null) { StoryInfo = new global::EggLink.DanhengServer.Proto.RogueMagicStoryInfo(); } input.ReadMessage(StoryInfo); break; } case 42: { rogueMagicScepterInfoList_.AddEntriesFrom(ref input, _repeated_rogueMagicScepterInfoList_codec); break; } case 66: { rogueTournAreaInfo_.AddEntriesFrom(ref input, _repeated_rogueTournAreaInfo_codec); break; } case 74: { rogueTournDifficultyInfo_.AddEntriesFrom(ref input, _repeated_rogueTournDifficultyInfo_codec); break; } case 82: { if (rogueMagicTalentInfo_ == null) { RogueMagicTalentInfo = new global::EggLink.DanhengServer.Proto.RogueMagicTalentInfo(); } input.ReadMessage(RogueMagicTalentInfo); break; } case 90: { rogueMagicUnitInfoList_.AddEntriesFrom(ref input, _repeated_rogueMagicUnitInfoList_codec); break; } case 114: case 112: { unlockStyleTypeList_.AddEntriesFrom(ref input, _repeated_unlockStyleTypeList_codec); break; } } } } #endif } #endregion } #endregion Designer generated code