| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: Monday, December 8, 2025
|
| | | // [ Date ]: Saturday, March 14, 2026
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public int StarAddPer;
|
| | | public int[] BookActAwardMoney;
|
| | | public int[][] DismissReturnItems;
|
| | | public int[][] BeautyReturnItems;
|
| | | public int[][] TitleReturnItems;
|
| | | public int[] RecommendAwardMoney;
|
| | |
|
| | | public override int LoadKey(string _key)
|
| | |
| | |
|
| | | DismissReturnItems = JsonMapper.ToObject<int[][]>(tables[7].Replace("(", "[").Replace(")", "]"));
|
| | |
|
| | | if (tables[8].Contains("[")) |
| | | BeautyReturnItems = JsonMapper.ToObject<int[][]>(tables[8].Replace("(", "[").Replace(")", "]")); |
| | |
|
| | | TitleReturnItems = JsonMapper.ToObject<int[][]>(tables[9].Replace("(", "[").Replace(")", "]")); |
| | |
|
| | | if (tables[10].Contains("[")) |
| | | { |
| | | RecommendAwardMoney = JsonMapper.ToObject<int[]>(tables[8]); |
| | | RecommendAwardMoney = JsonMapper.ToObject<int[]>(tables[10]); |
| | | } |
| | | else |
| | | { |
| | | string[] RecommendAwardMoneyStringArray = tables[8].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | string[] RecommendAwardMoneyStringArray = tables[10].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | RecommendAwardMoney = new int[RecommendAwardMoneyStringArray.Length]; |
| | | for (int i=0;i<RecommendAwardMoneyStringArray.Length;i++) |
| | | { |