//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Saturday, January 06, 2018
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class FunctionForecastConfig : ConfigBase {
|
|
public int FuncId { get ; private set ; }
|
public string FuncName { get ; private set; }
|
public int OpenLevel { get ; private set ; }
|
public string Describe { get ; private set; }
|
public string FuncIconKey { get ; private set; }
|
public string DetailDescribe { get ; private set; }
|
public string OpenDescribe { get ; private set; }
|
|
public override string getKey()
|
{
|
return FuncId.ToString();
|
}
|
|
public override void Parse() {
|
try
|
{
|
FuncId=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
|
FuncName = rawContents[1].Trim();
|
|
OpenLevel=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
|
|
Describe = rawContents[3].Trim();
|
|
FuncIconKey = rawContents[4].Trim();
|
|
DetailDescribe = rawContents[5].Trim();
|
|
OpenDescribe = rawContents[6].Trim();
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|