//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Monday, May 07, 2018
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class EquipDeComposeConfig : ConfigBase {
|
|
public int LV { get ; private set ; }
|
public int UpNeedExp { get ; private set ; }
|
public string Attr { get ; private set; }
|
|
public override string getKey()
|
{
|
return LV.ToString();
|
}
|
|
public override void Parse() {
|
try
|
{
|
LV=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
|
UpNeedExp=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
|
|
Attr = rawContents[2].Trim();
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|