//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class PlayerLVConfig : ConfigBase {
|
|
public int LV;
|
public int EXP1;
|
public int EXP2;
|
public int TalentPoint;
|
public int ReExp;
|
public int fightPower;
|
public int IceLodeFightPower;
|
|
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 TalentPoint);
|
|
int.TryParse(contents[4],out ReExp);
|
|
int.TryParse(contents[5],out fightPower);
|
|
int.TryParse(contents[6],out IceLodeFightPower);
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|
|
|
|
|