| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: Monday, December 29, 2025
|
| | | // [ Date ]: 2026年2月26日
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | }
|
| | |
|
| | | public int TreasureType;
|
| | | public int PackType;
|
| | | public int[] CheckPackList;
|
| | | public int DailyMaxCount;
|
| | | public int DailyFreeCount;
|
| | | public int[] TreasureCountList;
|
| | |
| | | string[] tables = input.Split('\t');
|
| | | int.TryParse(tables[0],out TreasureType);
|
| | |
|
| | | int.TryParse(tables[1],out PackType); |
| | | if (tables[1].Contains("[")) |
| | | { |
| | | CheckPackList = JsonMapper.ToObject<int[]>(tables[1]); |
| | | } |
| | | else |
| | | { |
| | | string[] CheckPackListStringArray = tables[1].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | CheckPackList = new int[CheckPackListStringArray.Length]; |
| | | for (int i=0;i<CheckPackListStringArray.Length;i++) |
| | | { |
| | | int.TryParse(CheckPackListStringArray[i],out CheckPackList[i]); |
| | | } |
| | | }
|
| | |
|
| | | int.TryParse(tables[2],out DailyMaxCount);
|
| | |
|