| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: YYL |
| | | // [ Date ]: Friday, June 27, 2025 |
| | | // [ Date ]: 2025年7月7日 |
| | | //-------------------------------------------------------- |
| | | |
| | | using System.Collections.Generic; |
| | |
| | | public int HeroID; |
| | | public int Country; |
| | | public int Quality; |
| | | public int[] SkinNPCIDList; |
| | | public int[] SkinIDList; |
| | | public int AtkSkillID; |
| | | public int AngerSkillID; |
| | | public int AtkInheritPer; |
| | |
| | | |
| | | if (tables[3].Contains("[")) |
| | | { |
| | | SkinNPCIDList = JsonMapper.ToObject<int[]>(tables[3]); |
| | | SkinIDList = JsonMapper.ToObject<int[]>(tables[3]); |
| | | } |
| | | else |
| | | { |
| | | string[] SkinNPCIDListStringArray = tables[3].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | SkinNPCIDList = new int[SkinNPCIDListStringArray.Length]; |
| | | for (int i=0;i<SkinNPCIDListStringArray.Length;i++) |
| | | string[] SkinIDListStringArray = tables[3].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | SkinIDList = new int[SkinIDListStringArray.Length]; |
| | | for (int i=0;i<SkinIDListStringArray.Length;i++) |
| | | { |
| | | int.TryParse(SkinNPCIDListStringArray[i],out SkinNPCIDList[i]); |
| | | int.TryParse(SkinIDListStringArray[i],out SkinIDList[i]); |
| | | } |
| | | } |
| | | |