少年修仙传客户端代码仓库
client_linchunjie
2018-08-20 6e598e7216bf239460e0139144bc77d38a29a27a
Core/GameEngine/Model/Config/NPCConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:         第二世界
//    [  Date ]:         Thursday, August 02, 2018
//    [  Date ]:         Monday, August 20, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -68,6 +68,7 @@
      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()
        {
@@ -195,6 +196,8 @@
            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)
            {