| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Tuesday, August 28, 2018 |
| | | // [ Date ]: Thursday, August 30, 2018 |
| | | //-------------------------------------------------------- |
| | | |
| | | using UnityEngine; |
| | |
| | | |
| | | 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() |
| | |
| | |
|
| | | 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; |
| | | StoneNPCID=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | | } |
| | | catch (Exception ex) |
| | | { |