少年修仙传客户端代码仓库
client_linchunjie
2018-08-30 5e52f2c70a71635ee8847a45493def033a9a3edf
2960 修改Boss信息表报错
2个文件已修改
12 ■■■■ 已修改文件
Core/GameEngine/Model/Config/BossInfoConfig.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/BossInfoConfig.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/BossInfoConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:            第二世界
//    [  Date ]:           Tuesday, August 28, 2018
//    [  Date ]:           Thursday, August 30, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -13,8 +13,6 @@
        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()
@@ -29,11 +27,7 @@
            
                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)
            {
Core/GameEngine/Model/Config/BossInfoConfig.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: fd079b12ba8134442adceeacd5b31101
timeCreated: 1535441070
timeCreated: 1535630857
licenseType: Pro
MonoImporter:
  serializedVersion: 2