| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: Fish |
| | | // [ Date ]: Wednesday, July 17, 2019 |
| | | // [ Date ]: 2023年10月18日
|
| | | //-------------------------------------------------------- |
| | | |
| | | using System.Collections.Generic; |
| | |
| | | using System.Threading; |
| | | using System; |
| | | using UnityEngine; |
| | | |
| | | |
| | | public partial class EquipStarConfig |
| | | { |
| | |
| | | public readonly int CostEquipCnt; |
| | | public readonly int UnSuitRate; |
| | | public readonly int SuitRate; |
| | | public readonly Int2 CostItemDict; |
| | | public readonly Int2[] CostItemDict;
|
| | | public readonly Int2[] StarAttrInfo; |
| | | public readonly Int2[] BaseAttrInfo; |
| | | |
| | |
| | | |
| | | int.TryParse(tables[9],out SuitRate); |
| | | |
| | | Int2.TryParse(tables[10],out CostItemDict); |
| | | string[] CostItemDictStringArray = tables[10].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | CostItemDict = new Int2[CostItemDictStringArray.Length]; |
| | | for (int i=0;i<CostItemDictStringArray.Length;i++) |
| | | { |
| | | Int2.TryParse(CostItemDictStringArray[i],out CostItemDict[i]); |
| | | }
|
| | | |
| | | string[] StarAttrInfoStringArray = tables[11].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | StarAttrInfo = new Int2[StarAttrInfoStringArray.Length]; |
| | |
| | | values.AddRange(configs.Values); |
| | | |
| | | var keys = new List<string>(rawDatas.Keys); |
| | | foreach (var key in keys) |
| | | for (int i = 0; i < keys.Count; i++)
|
| | | { |
| | | values.Add(Get(key)); |
| | | values.Add(Get(keys[i]));
|
| | | } |
| | | |
| | | return values; |