少年修仙传客户端代码仓库
client_Wu Xijin
2018-08-20 1c4c5c5cb829334303bff98837a69a9653dca714
Core/GameEngine/Model/Config/NPCConfig.cs
@@ -1,14 +1,14 @@
//--------------------------------------------------------
//    [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 ; }
@@ -68,13 +68,14 @@
      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; 
@@ -195,17 +196,19 @@
            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);
            }
      }
   }
}
            }
      }
   }
}