| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: Fish |
| | | // [ Date ]: Thursday, June 13, 2019 |
| | | // [ Date ]: Thursday, June 27, 2019 |
| | | //-------------------------------------------------------- |
| | | |
| | | using System.Collections.Generic; |
| | |
| | | { |
| | | |
| | | public readonly int id; |
| | | public readonly int quality; |
| | | public readonly Int2[] items; |
| | | public readonly string description; |
| | | |
| | |
| | | |
| | | int.TryParse(tables[0],out id); |
| | | |
| | | string[] itemsStringArray = tables[1].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | int.TryParse(tables[1],out quality); |
| | | |
| | | string[] itemsStringArray = tables[2].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | items = new Int2[itemsStringArray.Length]; |
| | | for (int i=0;i<itemsStringArray.Length;i++) |
| | | { |
| | | Int2.TryParse(itemsStringArray[i],out items[i]); |
| | | } |
| | | |
| | | description = tables[2]; |
| | | description = tables[3]; |
| | | } |
| | | catch (Exception ex) |
| | | { |