少年修仙传客户端代码仓库
client_Wu Xijin
2019-02-12 1aeb815836d84ecfddf761a47862efebbba0ad03
Core/GameEngine/Model/Config/bossSkillTipsConfig.cs
@@ -1,56 +1,58 @@
//--------------------------------------------------------
//    [Author]:         第二世界
//    [  Date ]:         Wednesday, June 06, 2018
//--------------------------------------------------------
using UnityEngine;
using System;
namespace TableConfig {
//--------------------------------------------------------
//    [Author]:         第二世界
//    [  Date ]:         Tuesday, February 12, 2019
//--------------------------------------------------------
using UnityEngine;
using System;
namespace TableConfig {
   public partial class bossSkillTipsConfig : ConfigBase {
      public int SkillID { get ; private set ; }
      public string Content { get ; private set; }
      public int time { get ; private set ; }
      public int type { get ; private set ; }
      public int mode { get ; private set ; }
      public string art { get ; private set; }
      public int SkillID;
      public string Content;
      public int time;
      public int type;
      public int mode;
      public string art;
      public string[] bossIcon;
      public override string getKey()
        {
            return SkillID.ToString();
        }
      public override void Parse() {
        }
      public override void Parse(string content) {
         try
            {
                SkillID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
                var contents = content.Split('\t');
                int.TryParse(contents[0],out SkillID);
         
            Content = rawContents[1].Trim();
            Content = contents[1];
         
            time=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
            int.TryParse(contents[2],out time);
         
            type=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
            int.TryParse(contents[3],out type);
         
            mode=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
            int.TryParse(contents[4],out mode);
         
            art = rawContents[5].Trim();
            art = contents[5];
         
            bossIcon = rawContents[6].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
            bossIcon = contents[6].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
            }
            catch (Exception ex)
            {
                DebugEx.Log(ex);
            }
      }
   }
}
            }
      }
   }
}