| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: 2025年8月4日
|
| | | // [ Date ]: Friday, January 9, 2026
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | {
|
| | | static CTGConfig()
|
| | | {
|
| | | if (isInit)
|
| | | {
|
| | | return;
|
| | | }
|
| | | LazyInit();
|
| | | // 访问过静态构造函数
|
| | | visit = true; |
| | | }
|
| | |
|
| | | public int RecordID;
|
| | |
| | | public int GainGold;
|
| | | public int GainGoldPaper;
|
| | | public int FirstGoldPaperPrize;
|
| | | public string GainItemList;
|
| | | public int[][] GainItemList;
|
| | | public int[][] SelectItemInfo;
|
| | | public string Icon;
|
| | | public int PayType;
|
| | | public int SortNum;
|
| | | public int Percentage;
|
| | |
|
| | | public override int LoadKey(string _key)
|
| | |
| | |
|
| | | int.TryParse(tables[10],out FirstGoldPaperPrize);
|
| | |
|
| | | GainItemList = tables[11];
|
| | | GainItemList = JsonMapper.ToObject<int[][]>(tables[11].Replace("(", "[").Replace(")", "]")); |
| | |
|
| | | SelectItemInfo = JsonMapper.ToObject<int[][]>(tables[12].Replace("(", "[").Replace(")", "]"));
|
| | |
|
| | |
| | |
|
| | | int.TryParse(tables[14],out PayType);
|
| | |
|
| | | int.TryParse(tables[15],out Percentage); |
| | | int.TryParse(tables[15],out SortNum); |
| | |
|
| | | int.TryParse(tables[16],out Percentage); |
| | | }
|
| | | catch (Exception exception)
|
| | | {
|