//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Thursday, October 11, 2018
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class TalentConfig : ConfigBase {
|
|
public int skillId { get ; private set ; }
|
public int type { get ; private set ; }
|
public int series { get ; private set ; }
|
public int order { get ; private set ; }
|
|
public override string getKey()
|
{
|
return skillId.ToString();
|
}
|
|
public override void Parse() {
|
try
|
{
|
skillId=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
|
type=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
|
|
series=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
|
|
order=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|