// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: RogueFormulaSelectInfo.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 RogueFormulaSelectInfo.proto public static partial class RogueFormulaSelectInfoReflection { #region Descriptor /// File descriptor for RogueFormulaSelectInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RogueFormulaSelectInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChxSb2d1ZUZvcm11bGFTZWxlY3RJbmZvLnByb3RvGhJJdGVtQ29zdERhdGEu", "cHJvdG8i/AEKFlJvZ3VlRm9ybXVsYVNlbGVjdEluZm8SHAoUUm9sbEZvcm11", "bGFGcmVlQ291bnQYAyABKA0SGwoTUm9sbEZvcm11bGFNYXhDb3VudBgCIAEo", "DRIqChNSb2xsRm9ybXVsYUNvc3REYXRhGA8gASgLMg0uSXRlbUNvc3REYXRh", "EhsKE1NlbGVjdEZvcm11bGFJZExpc3QYByADKA0SIwobSGFuZGJvb2tVbmxv", "Y2tGb3JtdWxhSWRMaXN0GAUgAygNEg4KBkhpbnRJZBgMIAEoDRIYChBSb2xs", "Rm9ybXVsYUNvdW50GAggASgNEg8KB0NhblJvbGwYCyABKAhCHqoCG0VnZ0xp", "bmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ItemCostDataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueFormulaSelectInfo), global::EggLink.DanhengServer.Proto.RogueFormulaSelectInfo.Parser, new[]{ "RollFormulaFreeCount", "RollFormulaMaxCount", "RollFormulaCostData", "SelectFormulaIdList", "HandbookUnlockFormulaIdList", "HintId", "RollFormulaCount", "CanRoll" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RogueFormulaSelectInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RogueFormulaSelectInfo()); 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.RogueFormulaSelectInfoReflection.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 RogueFormulaSelectInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueFormulaSelectInfo(RogueFormulaSelectInfo other) : this() { rollFormulaFreeCount_ = other.rollFormulaFreeCount_; rollFormulaMaxCount_ = other.rollFormulaMaxCount_; rollFormulaCostData_ = other.rollFormulaCostData_ != null ? other.rollFormulaCostData_.Clone() : null; selectFormulaIdList_ = other.selectFormulaIdList_.Clone(); handbookUnlockFormulaIdList_ = other.handbookUnlockFormulaIdList_.Clone(); hintId_ = other.hintId_; rollFormulaCount_ = other.rollFormulaCount_; canRoll_ = other.canRoll_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueFormulaSelectInfo Clone() { return new RogueFormulaSelectInfo(this); } /// Field number for the "RollFormulaFreeCount" field. public const int RollFormulaFreeCountFieldNumber = 3; private uint rollFormulaFreeCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RollFormulaFreeCount { get { return rollFormulaFreeCount_; } set { rollFormulaFreeCount_ = value; } } /// Field number for the "RollFormulaMaxCount" field. public const int RollFormulaMaxCountFieldNumber = 2; private uint rollFormulaMaxCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RollFormulaMaxCount { get { return rollFormulaMaxCount_; } set { rollFormulaMaxCount_ = value; } } /// Field number for the "RollFormulaCostData" field. public const int RollFormulaCostDataFieldNumber = 15; private global::EggLink.DanhengServer.Proto.ItemCostData rollFormulaCostData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ItemCostData RollFormulaCostData { get { return rollFormulaCostData_; } set { rollFormulaCostData_ = value; } } /// Field number for the "SelectFormulaIdList" field. public const int SelectFormulaIdListFieldNumber = 7; private static readonly pb::FieldCodec _repeated_selectFormulaIdList_codec = pb::FieldCodec.ForUInt32(58); private readonly pbc::RepeatedField selectFormulaIdList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField SelectFormulaIdList { get { return selectFormulaIdList_; } } /// Field number for the "HandbookUnlockFormulaIdList" field. public const int HandbookUnlockFormulaIdListFieldNumber = 5; private static readonly pb::FieldCodec _repeated_handbookUnlockFormulaIdList_codec = pb::FieldCodec.ForUInt32(42); private readonly pbc::RepeatedField handbookUnlockFormulaIdList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField HandbookUnlockFormulaIdList { get { return handbookUnlockFormulaIdList_; } } /// Field number for the "HintId" field. public const int HintIdFieldNumber = 12; private uint hintId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint HintId { get { return hintId_; } set { hintId_ = value; } } /// Field number for the "RollFormulaCount" field. public const int RollFormulaCountFieldNumber = 8; private uint rollFormulaCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RollFormulaCount { get { return rollFormulaCount_; } set { rollFormulaCount_ = value; } } /// Field number for the "CanRoll" field. public const int CanRollFieldNumber = 11; private bool canRoll_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool CanRoll { get { return canRoll_; } set { canRoll_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RogueFormulaSelectInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RogueFormulaSelectInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RollFormulaFreeCount != other.RollFormulaFreeCount) return false; if (RollFormulaMaxCount != other.RollFormulaMaxCount) return false; if (!object.Equals(RollFormulaCostData, other.RollFormulaCostData)) return false; if(!selectFormulaIdList_.Equals(other.selectFormulaIdList_)) return false; if(!handbookUnlockFormulaIdList_.Equals(other.handbookUnlockFormulaIdList_)) return false; if (HintId != other.HintId) return false; if (RollFormulaCount != other.RollFormulaCount) return false; if (CanRoll != other.CanRoll) 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 (RollFormulaFreeCount != 0) hash ^= RollFormulaFreeCount.GetHashCode(); if (RollFormulaMaxCount != 0) hash ^= RollFormulaMaxCount.GetHashCode(); if (rollFormulaCostData_ != null) hash ^= RollFormulaCostData.GetHashCode(); hash ^= selectFormulaIdList_.GetHashCode(); hash ^= handbookUnlockFormulaIdList_.GetHashCode(); if (HintId != 0) hash ^= HintId.GetHashCode(); if (RollFormulaCount != 0) hash ^= RollFormulaCount.GetHashCode(); if (CanRoll != false) hash ^= CanRoll.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 (RollFormulaMaxCount != 0) { output.WriteRawTag(16); output.WriteUInt32(RollFormulaMaxCount); } if (RollFormulaFreeCount != 0) { output.WriteRawTag(24); output.WriteUInt32(RollFormulaFreeCount); } handbookUnlockFormulaIdList_.WriteTo(output, _repeated_handbookUnlockFormulaIdList_codec); selectFormulaIdList_.WriteTo(output, _repeated_selectFormulaIdList_codec); if (RollFormulaCount != 0) { output.WriteRawTag(64); output.WriteUInt32(RollFormulaCount); } if (CanRoll != false) { output.WriteRawTag(88); output.WriteBool(CanRoll); } if (HintId != 0) { output.WriteRawTag(96); output.WriteUInt32(HintId); } if (rollFormulaCostData_ != null) { output.WriteRawTag(122); output.WriteMessage(RollFormulaCostData); } 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 (RollFormulaMaxCount != 0) { output.WriteRawTag(16); output.WriteUInt32(RollFormulaMaxCount); } if (RollFormulaFreeCount != 0) { output.WriteRawTag(24); output.WriteUInt32(RollFormulaFreeCount); } handbookUnlockFormulaIdList_.WriteTo(ref output, _repeated_handbookUnlockFormulaIdList_codec); selectFormulaIdList_.WriteTo(ref output, _repeated_selectFormulaIdList_codec); if (RollFormulaCount != 0) { output.WriteRawTag(64); output.WriteUInt32(RollFormulaCount); } if (CanRoll != false) { output.WriteRawTag(88); output.WriteBool(CanRoll); } if (HintId != 0) { output.WriteRawTag(96); output.WriteUInt32(HintId); } if (rollFormulaCostData_ != null) { output.WriteRawTag(122); output.WriteMessage(RollFormulaCostData); } 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 (RollFormulaFreeCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollFormulaFreeCount); } if (RollFormulaMaxCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollFormulaMaxCount); } if (rollFormulaCostData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RollFormulaCostData); } size += selectFormulaIdList_.CalculateSize(_repeated_selectFormulaIdList_codec); size += handbookUnlockFormulaIdList_.CalculateSize(_repeated_handbookUnlockFormulaIdList_codec); if (HintId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HintId); } if (RollFormulaCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollFormulaCount); } if (CanRoll != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RogueFormulaSelectInfo other) { if (other == null) { return; } if (other.RollFormulaFreeCount != 0) { RollFormulaFreeCount = other.RollFormulaFreeCount; } if (other.RollFormulaMaxCount != 0) { RollFormulaMaxCount = other.RollFormulaMaxCount; } if (other.rollFormulaCostData_ != null) { if (rollFormulaCostData_ == null) { RollFormulaCostData = new global::EggLink.DanhengServer.Proto.ItemCostData(); } RollFormulaCostData.MergeFrom(other.RollFormulaCostData); } selectFormulaIdList_.Add(other.selectFormulaIdList_); handbookUnlockFormulaIdList_.Add(other.handbookUnlockFormulaIdList_); if (other.HintId != 0) { HintId = other.HintId; } if (other.RollFormulaCount != 0) { RollFormulaCount = other.RollFormulaCount; } if (other.CanRoll != false) { CanRoll = other.CanRoll; } _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 16: { RollFormulaMaxCount = input.ReadUInt32(); break; } case 24: { RollFormulaFreeCount = input.ReadUInt32(); break; } case 42: case 40: { handbookUnlockFormulaIdList_.AddEntriesFrom(input, _repeated_handbookUnlockFormulaIdList_codec); break; } case 58: case 56: { selectFormulaIdList_.AddEntriesFrom(input, _repeated_selectFormulaIdList_codec); break; } case 64: { RollFormulaCount = input.ReadUInt32(); break; } case 88: { CanRoll = input.ReadBool(); break; } case 96: { HintId = input.ReadUInt32(); break; } case 122: { if (rollFormulaCostData_ == null) { RollFormulaCostData = new global::EggLink.DanhengServer.Proto.ItemCostData(); } input.ReadMessage(RollFormulaCostData); 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 16: { RollFormulaMaxCount = input.ReadUInt32(); break; } case 24: { RollFormulaFreeCount = input.ReadUInt32(); break; } case 42: case 40: { handbookUnlockFormulaIdList_.AddEntriesFrom(ref input, _repeated_handbookUnlockFormulaIdList_codec); break; } case 58: case 56: { selectFormulaIdList_.AddEntriesFrom(ref input, _repeated_selectFormulaIdList_codec); break; } case 64: { RollFormulaCount = input.ReadUInt32(); break; } case 88: { CanRoll = input.ReadBool(); break; } case 96: { HintId = input.ReadUInt32(); break; } case 122: { if (rollFormulaCostData_ == null) { RollFormulaCostData = new global::EggLink.DanhengServer.Proto.ItemCostData(); } input.ReadMessage(RollFormulaCostData); break; } } } } #endif } #endregion } #endregion Designer generated code