//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class VIPKillNPCConfig : ConfigBase {
|
|
public int LV;
|
public int Exp1;
|
public int Exp2;
|
public int MinAtk;
|
public int MaxAtk;
|
|
public override string getKey()
|
{
|
return LV.ToString();
|
}
|
|
public override void Parse(string content) {
|
try
|
{
|
var contents = content.Split('\t');
|
|
int.TryParse(contents[0],out LV);
|
|
int.TryParse(contents[1],out Exp1);
|
|
int.TryParse(contents[2],out Exp2);
|
|
int.TryParse(contents[3],out MinAtk);
|
|
int.TryParse(contents[4],out MaxAtk);
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|