| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: Fish
|
| | | // [ Date ]: Wednesday, November 13, 2024
|
| | | // [ Date ]: 2024年11月13日
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public readonly int[] JobShowList;
|
| | | public readonly int UnlockDefault;
|
| | | public readonly int ExpireMinutes;
|
| | | public readonly int CustomPlayerID;
|
| | | public readonly string Image;
|
| | | public readonly int BgColor;
|
| | | public readonly int EffectID;
|
| | |
| | |
|
| | | int.TryParse(tables[4],out ExpireMinutes);
|
| | |
|
| | | Image = tables[5];
|
| | | int.TryParse(tables[5],out CustomPlayerID); |
| | |
|
| | | int.TryParse(tables[6],out BgColor); |
| | | Image = tables[6];
|
| | |
|
| | | int.TryParse(tables[7],out EffectID); |
| | | int.TryParse(tables[7],out BgColor); |
| | |
|
| | | UnlockNeedItemList = JsonMapper.ToObject<int[][]>(tables[8].Replace("(", "[").Replace(")", "]")); |
| | | int.TryParse(tables[8],out EffectID); |
| | |
|
| | | if (tables[9].Contains("[")) |
| | | UnlockNeedItemList = JsonMapper.ToObject<int[][]>(tables[9].Replace("(", "[").Replace(")", "]")); |
| | |
|
| | | if (tables[10].Contains("[")) |
| | | { |
| | | LightAttrType = JsonMapper.ToObject<int[]>(tables[9]); |
| | | LightAttrType = JsonMapper.ToObject<int[]>(tables[10]); |
| | | } |
| | | else |
| | | { |
| | | string[] LightAttrTypeStringArray = tables[9].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | string[] LightAttrTypeStringArray = tables[10].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | LightAttrType = new int[LightAttrTypeStringArray.Length]; |
| | | for (int i=0;i<LightAttrTypeStringArray.Length;i++) |
| | | { |
| | |
| | | } |
| | | }
|
| | |
|
| | | if (tables[10].Contains("[")) |
| | | if (tables[11].Contains("[")) |
| | | { |
| | | LightAttrValue = JsonMapper.ToObject<int[]>(tables[10]); |
| | | LightAttrValue = JsonMapper.ToObject<int[]>(tables[11]); |
| | | } |
| | | else |
| | | { |
| | | string[] LightAttrValueStringArray = tables[10].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | string[] LightAttrValueStringArray = tables[11].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | LightAttrValue = new int[LightAttrValueStringArray.Length]; |
| | | for (int i=0;i<LightAttrValueStringArray.Length;i++) |
| | | { |
| | |
| | | } |
| | | }
|
| | |
|
| | | int.TryParse(tables[11],out LightFightPower); |
| | | int.TryParse(tables[12],out LightFightPower); |
| | |
|
| | | Descriptive = tables[12];
|
| | | Descriptive = tables[13];
|
| | | }
|
| | | catch (Exception ex)
|
| | | {
|