| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: Friday, June 27, 2025
|
| | | // [ Date ]: 2025年9月4日
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | | using System.IO;
|
| | | using System.Threading;
|
| | | using System;
|
| | | using UnityEngine;
|
| | | using LitJson;
|
| | |
|
| | | public partial class TreasureSetConfig : ConfigBase<int, TreasureSetConfig>
|
| | | {
|
| | | static TreasureSetConfig()
|
| | | {
|
| | | // 访问过静态构造函数
|
| | | visit = true; |
| | | }
|
| | |
|
| | | public int TreasureType;
|
| | | public int PackType;
|
| | |
| | | public int[] CostMoneyList;
|
| | | public int EnsureCount;
|
| | | public int OnceLucky;
|
| | | public int FullLucky;
|
| | | public int LuckyGridNum;
|
| | | public string GridNumMaxLimitInfo;
|
| | | public Dictionary<int, int> GridNumMaxLimitInfo;
|
| | | public int AwardMoneyType;
|
| | | public int AwardMoneyValue;
|
| | | public string ProbabilityDisplay;
|
| | |
| | |
|
| | | int.TryParse(tables[10],out OnceLucky);
|
| | |
|
| | | int.TryParse(tables[11],out FullLucky); |
| | | int.TryParse(tables[11],out LuckyGridNum); |
| | |
|
| | | int.TryParse(tables[12],out LuckyGridNum); |
| | | GridNumMaxLimitInfo = ConfigParse.ParseIntDict(tables[12]); |
| | |
|
| | | GridNumMaxLimitInfo = tables[13];
|
| | | int.TryParse(tables[13],out AwardMoneyType); |
| | |
|
| | | int.TryParse(tables[14],out AwardMoneyType); |
| | | int.TryParse(tables[14],out AwardMoneyValue); |
| | |
|
| | | int.TryParse(tables[15],out AwardMoneyValue); |
| | |
|
| | | ProbabilityDisplay = tables[16];
|
| | | ProbabilityDisplay = tables[15];
|
| | | }
|
| | | catch (Exception exception)
|
| | | {
|