| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Monday, March 05, 2018 |
| | | // [ Date ]: Wednesday, October 31, 2018 |
| | | //-------------------------------------------------------- |
| | | |
| | | using UnityEngine; |
| | |
| | | |
| | | public partial class OSCBillTagAwardConfig : ConfigBase { |
| | | |
| | | public int ID { get ; private set ; } |
| | | public int RangListType { get ; private set ; } |
| | | public int Condition { get ; private set ; } |
| | | public int ID { get ; private set ; }
|
| | | public int RangListType { get ; private set ; }
|
| | | public int Condition { get ; private set ; }
|
| | | public string Gift { get ; private set; } |
| | | public string Tip { get ; private set; } |
| | | |
| | | public override string getKey() |
| | | { |
| | |
| | | public override void Parse() { |
| | | try |
| | | { |
| | | ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | RangListType=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; |
| | | |
| | | Condition=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | | |
| | | ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | RangListType=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; |
| | | |
| | | Condition=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | | |
| | | Gift = rawContents[3].Trim(); |
| | | |
| | | Tip = rawContents[4].Trim(); |
| | | } |
| | | catch (Exception ex) |
| | | { |