//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class bossSkillTipsConfig : ConfigBase {
|
|
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(string content) {
|
try
|
{
|
var contents = content.Split('\t');
|
|
int.TryParse(contents[0],out SkillID);
|
|
Content = contents[1];
|
|
int.TryParse(contents[2],out time);
|
|
int.TryParse(contents[3],out type);
|
|
int.TryParse(contents[4],out mode);
|
|
art = contents[5];
|
|
bossIcon = contents[6].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|
|
|
|
|