少年修仙传客户端代码仓库
client_linchunjie
2018-08-30 0d371b91a3f7b193f7ea3c1bcde8226ca02275fd
Core/GameEngine/Model/Config/BossInfoConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:         第二世界
//    [  Date ]:         Saturday, January 06, 2018
//    [  Date ]:         Tuesday, August 28, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -11,8 +11,10 @@
    
   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()
@@ -23,11 +25,15 @@
      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)
            {