| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Monday, March 05, 2018 |
| | | // [ Date ]: Tuesday, February 12, 2019 |
| | | //-------------------------------------------------------- |
| | | |
| | | using UnityEngine; |
| | |
| | | |
| | | public partial class FuncConfigConfig : ConfigBase { |
| | | |
| | | public string KEY { get ; private set; } |
| | | public string Numerical1 { get ; private set; } |
| | | public string Numerical2 { get ; private set; } |
| | | public string Numerical3 { get ; private set; } |
| | | public string Numerical4 { get ; private set; } |
| | | public string Numerical5 { get ; private set; } |
| | | public string KEY; |
| | | public string Numerical1; |
| | | public string Numerical2; |
| | | public string Numerical3; |
| | | public string Numerical4; |
| | | public string Numerical5; |
| | | |
| | | public override string getKey() |
| | | { |
| | | return KEY.ToString(); |
| | | } |
| | | |
| | | public override void Parse() { |
| | | public override void Parse(string content) { |
| | | try |
| | | { |
| | | KEY = rawContents[0].Trim(); |
| | | var contents = content.Split('\t'); |
| | | |
| | | KEY = contents[0]; |
| | | |
| | | Numerical1 = rawContents[1].Trim(); |
| | | Numerical1 = contents[1]; |
| | | |
| | | Numerical2 = rawContents[2].Trim(); |
| | | Numerical2 = contents[2]; |
| | | |
| | | Numerical3 = rawContents[3].Trim(); |
| | | Numerical3 = contents[3]; |
| | | |
| | | Numerical4 = rawContents[4].Trim(); |
| | | Numerical4 = contents[4]; |
| | | |
| | | Numerical5 = rawContents[5].Trim(); |
| | | Numerical5 = contents[5]; |
| | | } |
| | | catch (Exception ex) |
| | | { |