| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Thursday, August 02, 2018 |
| | | //-------------------------------------------------------- |
| | | |
| | | using UnityEngine; |
| | | using System; |
| | | |
| | | namespace TableConfig { |
| | | |
| | | |
| | | //--------------------------------------------------------
|
| | | // [Author]: 第二世界
|
| | | // [ Date ]: Monday, August 20, 2018
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using UnityEngine;
|
| | | using System;
|
| | |
|
| | | namespace TableConfig {
|
| | |
|
| | | |
| | | public partial class NPCConfig : ConfigBase {
|
| | |
|
| | | public int NPCID { get ; private set ; }
|
| | |
| | | public int LifeBarCount { get ; private set ; }
|
| | | public int NPCEffect { get ; private set ; }
|
| | | public int NPCSpeakID { get ; private set ; }
|
| | | |
| | | public int ClientRealm { get ; private set ; }
|
| | |
|
| | | public override string getKey()
|
| | | {
|
| | | return NPCID.ToString();
|
| | | } |
| | | |
| | | public override void Parse() { |
| | | }
|
| | |
|
| | | public override void Parse() {
|
| | | try
|
| | | {
|
| | | NPCID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
| | |
| | | NPCEffect=IsNumeric(rawContents[55]) ? int.Parse(rawContents[55]):0;
|
| | |
|
| | | NPCSpeakID=IsNumeric(rawContents[56]) ? int.Parse(rawContents[56]):0;
|
| | | |
| | | ClientRealm=IsNumeric(rawContents[57]) ? int.Parse(rawContents[57]):0; |
| | | }
|
| | | catch (Exception ex)
|
| | | {
|
| | | DebugEx.Log(ex);
|
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | }
|
| | | }
|
| | | |
| | | }
|
| | |
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | |
|