//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Wednesday, May 16, 2018
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class FuncOpenLVConfig : ConfigBase {
|
|
public int FuncId { get ; private set ; }
|
public int LimitLV { get ; private set ; }
|
public int LimitMagicWeapon { get ; private set ; }
|
public int LimiRealmLV { get ; private set ; }
|
public int LimitMissionID { get ; private set ; }
|
public string Remark { get ; private set; }
|
public string State { get ; private set; }
|
public string Tip { get ; private set; }
|
public string Icon { get ; private set; }
|
public int open { get ; private set ; }
|
public int ContinueTask { get ; private set ; }
|
|
public override string getKey()
|
{
|
return FuncId.ToString();
|
}
|
|
public override void Parse() {
|
try
|
{
|
FuncId=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
|
LimitLV=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
|
|
LimitMagicWeapon=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
|
|
LimiRealmLV=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
|
|
LimitMissionID=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
|
|
Remark = rawContents[5].Trim();
|
|
State = rawContents[6].Trim();
|
|
Tip = rawContents[7].Trim();
|
|
Icon = rawContents[8].Trim();
|
|
open=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0;
|
|
ContinueTask=IsNumeric(rawContents[10]) ? int.Parse(rawContents[10]):0;
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|