| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Tuesday, August 21, 2018 |
| | | // [ Date ]: Tuesday, September 25, 2018 |
| | | //-------------------------------------------------------- |
| | | |
| | | using UnityEngine; |
| | |
| | | |
| | | public partial class TalentConfig : ConfigBase { |
| | | |
| | | public int SkillId { get ; private set ; }
|
| | | public int skillId { get ; private set ; }
|
| | | public int type { get ; private set ; }
|
| | | public int series { get ; private set ; }
|
| | | public int talentType { get ; private set ; }
|
| | | public int SkillLv { get ; private set ; }
|
| | | public int property { get ; private set ; }
|
| | | public int propertyValue { get ; private set ; }
|
| | | public int seriesCondition { get ; private set ; }
|
| | | public int point { get ; private set ; } |
| | | public int level { get ; private set ; }
|
| | | public int requireSeries { get ; private set ; }
|
| | | public int requireSeriesPoint { get ; private set ; } |
| | | |
| | | public override string getKey() |
| | | { |
| | | return SkillId.ToString(); |
| | | return skillId.ToString(); |
| | | } |
| | | |
| | | public override void Parse() { |
| | | try |
| | | { |
| | | SkillId=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | skillId=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | |
|
| | | series=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; |
| | | type=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; |
| | |
|
| | | talentType=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | | series=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | |
|
| | | SkillLv=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; |
| | | level=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; |
| | |
|
| | | property=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; |
| | | requireSeries=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; |
| | |
|
| | | propertyValue=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0; |
| | | |
| | | seriesCondition=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0; |
| | | |
| | | point=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0; |
| | | requireSeriesPoint=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0; |
| | | } |
| | | catch (Exception ex) |
| | | { |