| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Saturday, January 06, 2018 |
| | | // [ Date ]: Tuesday, August 28, 2018 |
| | | //-------------------------------------------------------- |
| | | |
| | | using UnityEngine; |
| | |
| | | |
| | | public partial class BossInfoConfig : ConfigBase { |
| | | |
| | | public int NPCID { get ; private set ; } |
| | | public int MapID { get ; private set ; } |
| | | public int NPCID { get ; private set ; }
|
| | | public int MapID { get ; private set ; }
|
| | | public int RelatedType { get ; private set ; }
|
| | | public int RelatedID { get ; private set ; }
|
| | | public int StoneNPCID { get ; private set ; } |
| | | |
| | | public override string getKey() |
| | |
| | | public override void Parse() { |
| | | try |
| | | { |
| | | NPCID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | MapID=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; |
| | | |
| | | StoneNPCID=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | | NPCID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | MapID=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; |
| | | |
| | | RelatedType=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | | |
| | | RelatedID=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; |
| | | |
| | | StoneNPCID=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; |
| | | } |
| | | catch (Exception ex) |
| | | { |