| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: 2025年11月16日
|
| | | // [ Date ]: 2025年12月1日
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public int[] InitAttrValueList;
|
| | | public int[] AttrPerStarAddList;
|
| | | public string GetWayString;
|
| | | public int[] LeftOffset;
|
| | | public int[] RightOffset;
|
| | | public int Top;
|
| | | public int[] MyColor;
|
| | | public int[] OtherColor;
|
| | |
|
| | | public override int LoadKey(string _key)
|
| | | {
|
| | |
| | | }
|
| | |
|
| | | GetWayString = tables[13];
|
| | |
|
| | | if (tables[14].Contains("[")) |
| | | { |
| | | LeftOffset = JsonMapper.ToObject<int[]>(tables[14]); |
| | | } |
| | | else |
| | | { |
| | | string[] LeftOffsetStringArray = tables[14].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | LeftOffset = new int[LeftOffsetStringArray.Length]; |
| | | for (int i=0;i<LeftOffsetStringArray.Length;i++) |
| | | { |
| | | int.TryParse(LeftOffsetStringArray[i],out LeftOffset[i]); |
| | | } |
| | | }
|
| | |
|
| | | if (tables[15].Contains("[")) |
| | | { |
| | | RightOffset = JsonMapper.ToObject<int[]>(tables[15]); |
| | | } |
| | | else |
| | | { |
| | | string[] RightOffsetStringArray = tables[15].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | RightOffset = new int[RightOffsetStringArray.Length]; |
| | | for (int i=0;i<RightOffsetStringArray.Length;i++) |
| | | { |
| | | int.TryParse(RightOffsetStringArray[i],out RightOffset[i]); |
| | | } |
| | | }
|
| | |
|
| | | int.TryParse(tables[16],out Top); |
| | |
|
| | | if (tables[17].Contains("[")) |
| | | { |
| | | MyColor = JsonMapper.ToObject<int[]>(tables[17]); |
| | | } |
| | | else |
| | | { |
| | | string[] MyColorStringArray = tables[17].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | MyColor = new int[MyColorStringArray.Length]; |
| | | for (int i=0;i<MyColorStringArray.Length;i++) |
| | | { |
| | | int.TryParse(MyColorStringArray[i],out MyColor[i]); |
| | | } |
| | | }
|
| | |
|
| | | if (tables[18].Contains("[")) |
| | | { |
| | | OtherColor = JsonMapper.ToObject<int[]>(tables[18]); |
| | | } |
| | | else |
| | | { |
| | | string[] OtherColorStringArray = tables[18].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | OtherColor = new int[OtherColorStringArray.Length]; |
| | | for (int i=0;i<OtherColorStringArray.Length;i++) |
| | | { |
| | | int.TryParse(OtherColorStringArray[i],out OtherColor[i]); |
| | | } |
| | | }
|
| | | }
|
| | | catch (Exception exception)
|
| | | {
|