| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: Fish |
| | | // [ Date ]: Monday, March 25, 2019 |
| | | // [ Date ]: Saturday, April 13, 2019 |
| | | //-------------------------------------------------------- |
| | | |
| | | using System.Collections.Generic; |
| | |
| | | |
| | | public readonly int id;
|
| | | public readonly Int2 propertyPerPoint;
|
| | | public readonly int promoteProperty;
|
| | | public readonly int[] promoteValue;
|
| | | public readonly Int2[] promoteProperty;
|
| | | public readonly string promoteValue;
|
| | | public readonly int[] qualityArea; |
| | | |
| | | public ReikiRootConfig() |
| | |
| | |
|
| | | Int2.TryParse(tables[1],out propertyPerPoint);
|
| | |
|
| | | int.TryParse(tables[2],out promoteProperty); |
| | |
|
| | | string[] promoteValueStringArray = tables[3].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | promoteValue = new int[promoteValueStringArray.Length]; |
| | | for (int i=0;i<promoteValueStringArray.Length;i++) |
| | | string[] promotePropertyStringArray = tables[2].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | promoteProperty = new Int2[promotePropertyStringArray.Length]; |
| | | for (int i=0;i<promotePropertyStringArray.Length;i++) |
| | | { |
| | | int.TryParse(promoteValueStringArray[i],out promoteValue[i]); |
| | | Int2.TryParse(promotePropertyStringArray[i],out promoteProperty[i]); |
| | | }
|
| | |
|
| | | promoteValue = tables[3];
|
| | |
|
| | | string[] qualityAreaStringArray = tables[4].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | qualityArea = new int[qualityAreaStringArray.Length]; |
| | | for (int i=0;i<qualityAreaStringArray.Length;i++) |