//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class FuncOpenLVConfig : ConfigBase {
|
|
public int FuncId;
|
public int LimitLV;
|
public int LimitMagicWeapon;
|
public int LimiRealmLV;
|
public int LimitMissionID;
|
public string Remark;
|
public string State;
|
public string Tip;
|
public string Icon;
|
public int open;
|
public int ContinueTask;
|
|
public override string getKey()
|
{
|
return FuncId.ToString();
|
}
|
|
public override void Parse(string content) {
|
try
|
{
|
var contents = content.Split('\t');
|
|
int.TryParse(contents[0],out FuncId);
|
|
int.TryParse(contents[1],out LimitLV);
|
|
int.TryParse(contents[2],out LimitMagicWeapon);
|
|
int.TryParse(contents[3],out LimiRealmLV);
|
|
int.TryParse(contents[4],out LimitMissionID);
|
|
Remark = contents[5];
|
|
State = contents[6];
|
|
Tip = contents[7];
|
|
Icon = contents[8];
|
|
int.TryParse(contents[9],out open);
|
|
int.TryParse(contents[10],out ContinueTask);
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|