| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: 2025年8月4日
|
| | | // [ Date ]: 2025年9月3日
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | {
|
| | | static HeroSkinConfig()
|
| | | {
|
| | | if (isInit)
|
| | | {
|
| | | return;
|
| | | }
|
| | | LazyInit();
|
| | | // 访问过静态构造函数
|
| | | visit = true; |
| | | }
|
| | |
|
| | | public int SkinID;
|
| | |
| | | public int[] AllBatAttrIDList;
|
| | | public int[] AllBatAttrValueList;
|
| | | public string Tachie;
|
| | | public float[] TachieParam;
|
| | | public string SquareIcon;
|
| | | public string RectangleIcon;
|
| | | public string SpineRes;
|
| | |
| | |
|
| | | Tachie = tables[5];
|
| | |
|
| | | SquareIcon = tables[6];
|
| | | if (tables[6].Contains("[")) |
| | | { |
| | | TachieParam = JsonMapper.ToObject<float[]>(tables[6]); |
| | | } |
| | | else |
| | | { |
| | | string[] TachieParamStringArray = tables[6].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | TachieParam = new float[TachieParamStringArray.Length]; |
| | | for (int i=0;i<TachieParamStringArray.Length;i++) |
| | | { |
| | | float.TryParse(TachieParamStringArray[i],out TachieParam[i]); |
| | | } |
| | | }
|
| | |
|
| | | RectangleIcon = tables[7];
|
| | | SquareIcon = tables[7];
|
| | |
|
| | | SpineRes = tables[8];
|
| | | RectangleIcon = tables[8];
|
| | |
|
| | | SpineRes = tables[9];
|
| | | }
|
| | | catch (Exception exception)
|
| | | {
|