| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: Fish |
| | | // [ Date ]: Wednesday, February 20, 2019 |
| | | // [ Date ]: Wednesday, March 27, 2019 |
| | | //-------------------------------------------------------- |
| | | |
| | | using System.Collections.Generic; |
| | |
| | | public readonly string NameIcon;
|
| | | public readonly string TreasureNameIcon;
|
| | | public readonly string Model;
|
| | | public readonly string SourceDescription;
|
| | | public readonly string Story;
|
| | | public readonly string IndexTitle;
|
| | | public readonly string StoryName;
|
| | | public readonly int RequirementTotal;
|
| | | public readonly int[] Achievements;
|
| | | public readonly int MapId;
|
| | | public readonly int LineId;
|
| | | public readonly int ChallengeLevel;
|
| | | public readonly int EffectID;
|
| | | public readonly string[] Verse;
|
| | | public readonly int ShowNetGotEffect;
|
| | | public readonly int PreferredStage;
|
| | | public readonly int UIScale; |
| | | |
| | | public TreasureConfig() |
| | |
| | |
|
| | | Model = tables[7];
|
| | |
|
| | | SourceDescription = tables[8];
|
| | | Story = tables[8];
|
| | |
|
| | | Story = tables[9];
|
| | | IndexTitle = tables[9];
|
| | |
|
| | | IndexTitle = tables[10];
|
| | | StoryName = tables[10];
|
| | |
|
| | | StoryName = tables[11];
|
| | | int.TryParse(tables[11],out MapId); |
| | |
|
| | | int.TryParse(tables[12],out RequirementTotal); |
| | | int.TryParse(tables[12],out LineId); |
| | |
|
| | | string[] AchievementsStringArray = tables[13].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | Achievements = new int[AchievementsStringArray.Length]; |
| | | for (int i=0;i<AchievementsStringArray.Length;i++) |
| | | { |
| | | int.TryParse(AchievementsStringArray[i],out Achievements[i]); |
| | | }
|
| | | int.TryParse(tables[13],out ChallengeLevel); |
| | |
|
| | | int.TryParse(tables[14],out MapId); |
| | | int.TryParse(tables[14],out EffectID); |
| | |
|
| | | int.TryParse(tables[15],out LineId); |
| | | Verse = tables[15].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
|
| | |
|
| | | int.TryParse(tables[16],out ChallengeLevel); |
| | |
|
| | | int.TryParse(tables[17],out EffectID); |
| | |
|
| | | Verse = tables[18].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
|
| | |
|
| | | int.TryParse(tables[19],out ShowNetGotEffect); |
| | |
|
| | | int.TryParse(tables[20],out PreferredStage); |
| | |
|
| | | int.TryParse(tables[21],out UIScale); |
| | | int.TryParse(tables[16],out UIScale); |
| | | } |
| | | catch (Exception ex) |
| | | { |