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