// // 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", "cHJvdG8ilwIKFlJvZ3VlRm9ybXVsYVNlbGVjdEluZm8SHgoWcm9sbF9mb3Jt", "dWxhX21heF9jb3VudBgLIAEoDRIaChJyb2xsX2Zvcm11bGFfY291bnQYDyAB", "KA0SFgoOc2VsZWN0X2hpbnRfaWQYAyABKA0SHgoWc2VsZWN0X2Zvcm11bGFf", "aWRfbGlzdBgKIAMoDRItChZyb2xsX2Zvcm11bGFfY29zdF9kYXRhGAggASgL", "Mg0uSXRlbUNvc3REYXRhEh8KF3JvbGxfZm9ybXVsYV9mcmVlX2NvdW50GA0g", "ASgNEhAKCGNhbl9yb2xsGAEgASgIEicKH2hhbmRib29rX3VubG9ja19mb3Jt", "dWxhX2lkX2xpc3QYAiADKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Q", "cm90b2IGcHJvdG8z")); 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[]{ "RollFormulaMaxCount", "RollFormulaCount", "SelectHintId", "SelectFormulaIdList", "RollFormulaCostData", "RollFormulaFreeCount", "CanRoll", "HandbookUnlockFormulaIdList" }, 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() { rollFormulaMaxCount_ = other.rollFormulaMaxCount_; rollFormulaCount_ = other.rollFormulaCount_; selectHintId_ = other.selectHintId_; selectFormulaIdList_ = other.selectFormulaIdList_.Clone(); rollFormulaCostData_ = other.rollFormulaCostData_ != null ? other.rollFormulaCostData_.Clone() : null; rollFormulaFreeCount_ = other.rollFormulaFreeCount_; canRoll_ = other.canRoll_; handbookUnlockFormulaIdList_ = other.handbookUnlockFormulaIdList_.Clone(); _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 "roll_formula_max_count" field. public const int RollFormulaMaxCountFieldNumber = 11; 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 "roll_formula_count" field. public const int RollFormulaCountFieldNumber = 15; 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 "select_hint_id" field. public const int SelectHintIdFieldNumber = 3; private uint selectHintId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SelectHintId { get { return selectHintId_; } set { selectHintId_ = value; } } /// Field number for the "select_formula_id_list" field. public const int SelectFormulaIdListFieldNumber = 10; private static readonly pb::FieldCodec _repeated_selectFormulaIdList_codec = pb::FieldCodec.ForUInt32(82); 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 "roll_formula_cost_data" field. public const int RollFormulaCostDataFieldNumber = 8; 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 "roll_formula_free_count" field. public const int RollFormulaFreeCountFieldNumber = 13; 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 "can_roll" field. public const int CanRollFieldNumber = 1; private bool canRoll_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool CanRoll { get { return canRoll_; } set { canRoll_ = value; } } /// Field number for the "handbook_unlock_formula_id_list" field. public const int HandbookUnlockFormulaIdListFieldNumber = 2; private static readonly pb::FieldCodec _repeated_handbookUnlockFormulaIdList_codec = pb::FieldCodec.ForUInt32(18); 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_; } } [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 (RollFormulaMaxCount != other.RollFormulaMaxCount) return false; if (RollFormulaCount != other.RollFormulaCount) return false; if (SelectHintId != other.SelectHintId) return false; if(!selectFormulaIdList_.Equals(other.selectFormulaIdList_)) return false; if (!object.Equals(RollFormulaCostData, other.RollFormulaCostData)) return false; if (RollFormulaFreeCount != other.RollFormulaFreeCount) return false; if (CanRoll != other.CanRoll) return false; if(!handbookUnlockFormulaIdList_.Equals(other.handbookUnlockFormulaIdList_)) 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 (RollFormulaMaxCount != 0) hash ^= RollFormulaMaxCount.GetHashCode(); if (RollFormulaCount != 0) hash ^= RollFormulaCount.GetHashCode(); if (SelectHintId != 0) hash ^= SelectHintId.GetHashCode(); hash ^= selectFormulaIdList_.GetHashCode(); if (rollFormulaCostData_ != null) hash ^= RollFormulaCostData.GetHashCode(); if (RollFormulaFreeCount != 0) hash ^= RollFormulaFreeCount.GetHashCode(); if (CanRoll != false) hash ^= CanRoll.GetHashCode(); hash ^= handbookUnlockFormulaIdList_.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 (CanRoll != false) { output.WriteRawTag(8); output.WriteBool(CanRoll); } handbookUnlockFormulaIdList_.WriteTo(output, _repeated_handbookUnlockFormulaIdList_codec); if (SelectHintId != 0) { output.WriteRawTag(24); output.WriteUInt32(SelectHintId); } if (rollFormulaCostData_ != null) { output.WriteRawTag(66); output.WriteMessage(RollFormulaCostData); } selectFormulaIdList_.WriteTo(output, _repeated_selectFormulaIdList_codec); if (RollFormulaMaxCount != 0) { output.WriteRawTag(88); output.WriteUInt32(RollFormulaMaxCount); } if (RollFormulaFreeCount != 0) { output.WriteRawTag(104); output.WriteUInt32(RollFormulaFreeCount); } if (RollFormulaCount != 0) { output.WriteRawTag(120); output.WriteUInt32(RollFormulaCount); } 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 (CanRoll != false) { output.WriteRawTag(8); output.WriteBool(CanRoll); } handbookUnlockFormulaIdList_.WriteTo(ref output, _repeated_handbookUnlockFormulaIdList_codec); if (SelectHintId != 0) { output.WriteRawTag(24); output.WriteUInt32(SelectHintId); } if (rollFormulaCostData_ != null) { output.WriteRawTag(66); output.WriteMessage(RollFormulaCostData); } selectFormulaIdList_.WriteTo(ref output, _repeated_selectFormulaIdList_codec); if (RollFormulaMaxCount != 0) { output.WriteRawTag(88); output.WriteUInt32(RollFormulaMaxCount); } if (RollFormulaFreeCount != 0) { output.WriteRawTag(104); output.WriteUInt32(RollFormulaFreeCount); } if (RollFormulaCount != 0) { output.WriteRawTag(120); output.WriteUInt32(RollFormulaCount); } 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 (RollFormulaMaxCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollFormulaMaxCount); } if (RollFormulaCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollFormulaCount); } if (SelectHintId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SelectHintId); } size += selectFormulaIdList_.CalculateSize(_repeated_selectFormulaIdList_codec); if (rollFormulaCostData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RollFormulaCostData); } if (RollFormulaFreeCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollFormulaFreeCount); } if (CanRoll != false) { size += 1 + 1; } size += handbookUnlockFormulaIdList_.CalculateSize(_repeated_handbookUnlockFormulaIdList_codec); 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.RollFormulaMaxCount != 0) { RollFormulaMaxCount = other.RollFormulaMaxCount; } if (other.RollFormulaCount != 0) { RollFormulaCount = other.RollFormulaCount; } if (other.SelectHintId != 0) { SelectHintId = other.SelectHintId; } selectFormulaIdList_.Add(other.selectFormulaIdList_); if (other.rollFormulaCostData_ != null) { if (rollFormulaCostData_ == null) { RollFormulaCostData = new global::EggLink.DanhengServer.Proto.ItemCostData(); } RollFormulaCostData.MergeFrom(other.RollFormulaCostData); } if (other.RollFormulaFreeCount != 0) { RollFormulaFreeCount = other.RollFormulaFreeCount; } if (other.CanRoll != false) { CanRoll = other.CanRoll; } handbookUnlockFormulaIdList_.Add(other.handbookUnlockFormulaIdList_); _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 8: { CanRoll = input.ReadBool(); break; } case 18: case 16: { handbookUnlockFormulaIdList_.AddEntriesFrom(input, _repeated_handbookUnlockFormulaIdList_codec); break; } case 24: { SelectHintId = input.ReadUInt32(); break; } case 66: { if (rollFormulaCostData_ == null) { RollFormulaCostData = new global::EggLink.DanhengServer.Proto.ItemCostData(); } input.ReadMessage(RollFormulaCostData); break; } case 82: case 80: { selectFormulaIdList_.AddEntriesFrom(input, _repeated_selectFormulaIdList_codec); break; } case 88: { RollFormulaMaxCount = input.ReadUInt32(); break; } case 104: { RollFormulaFreeCount = input.ReadUInt32(); break; } case 120: { RollFormulaCount = input.ReadUInt32(); 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 8: { CanRoll = input.ReadBool(); break; } case 18: case 16: { handbookUnlockFormulaIdList_.AddEntriesFrom(ref input, _repeated_handbookUnlockFormulaIdList_codec); break; } case 24: { SelectHintId = input.ReadUInt32(); break; } case 66: { if (rollFormulaCostData_ == null) { RollFormulaCostData = new global::EggLink.DanhengServer.Proto.ItemCostData(); } input.ReadMessage(RollFormulaCostData); break; } case 82: case 80: { selectFormulaIdList_.AddEntriesFrom(ref input, _repeated_selectFormulaIdList_codec); break; } case 88: { RollFormulaMaxCount = input.ReadUInt32(); break; } case 104: { RollFormulaFreeCount = input.ReadUInt32(); break; } case 120: { RollFormulaCount = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code