| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Saturday, January 06, 2018 |
| | | // [ Date ]: Thursday, November 01, 2018 |
| | | //-------------------------------------------------------- |
| | | |
| | | using UnityEngine; |
| | |
| | | |
| | | public partial class PetClassCostConfig : ConfigBase { |
| | | |
| | | public int ID { get ; private set ; } |
| | | public int PetID { get ; private set ; } |
| | | public int Rank { get ; private set ; } |
| | | public int UpNeedExp { get ; private set ; } |
| | | public int AtkAdd { get ; private set ; } |
| | | public int ID { get ; private set ; }
|
| | | public int PetID { get ; private set ; }
|
| | | public int Rank { get ; private set ; }
|
| | | public int UpNeedExp { get ; private set ; }
|
| | | public int AtkAdd { get ; private set ; }
|
| | | public int NeedExpTotal { get ; private set ; } |
| | | |
| | | public override string getKey() |
| | | { |
| | |
| | | public override void Parse() { |
| | | try |
| | | { |
| | | ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | PetID=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; |
| | | |
| | | Rank=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | | |
| | | UpNeedExp=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; |
| | | |
| | | AtkAdd=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; |
| | | ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | PetID=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; |
| | | |
| | | Rank=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | | |
| | | UpNeedExp=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; |
| | | |
| | | AtkAdd=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; |
| | | |
| | | NeedExpTotal=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0; |
| | | } |
| | | catch (Exception ex) |
| | | { |