| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: 2025年8月17日
|
| | | // [ Date ]: 2025年9月9日
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public int[] FetterIDList;
|
| | | public float UIScale;
|
| | | public string Desc;
|
| | | public int[] TalentList;
|
| | |
|
| | | public override int LoadKey(string _key)
|
| | | {
|
| | |
| | | float.TryParse(tables[14],out UIScale);
|
| | |
|
| | | Desc = tables[15];
|
| | |
|
| | | if (tables[16].Contains("[")) |
| | | { |
| | | TalentList = JsonMapper.ToObject<int[]>(tables[16]); |
| | | } |
| | | else |
| | | { |
| | | string[] TalentListStringArray = tables[16].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | TalentList = new int[TalentListStringArray.Length]; |
| | | for (int i=0;i<TalentListStringArray.Length;i++) |
| | | { |
| | | int.TryParse(TalentListStringArray[i],out TalentList[i]); |
| | | } |
| | | }
|
| | | }
|
| | | catch (Exception exception)
|
| | | {
|