//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class TreasureRefineConfig : ConfigBase {
|
|
public int id;
|
public int TreasureID;
|
public int TreasureLV;
|
public string TreasureLVStatus;
|
public string TreasureUpItems;
|
public int SuccessRate;
|
public int OpenSkill;
|
public int BlastFurnaceLV;
|
public int AllTreasureLV;
|
public int IsCoreSkill;
|
|
public override string getKey()
|
{
|
return id.ToString();
|
}
|
|
public override void Parse(string content) {
|
try
|
{
|
var contents = content.Split('\t');
|
|
int.TryParse(contents[0],out id);
|
|
int.TryParse(contents[1],out TreasureID);
|
|
int.TryParse(contents[2],out TreasureLV);
|
|
TreasureLVStatus = contents[3];
|
|
TreasureUpItems = contents[4];
|
|
int.TryParse(contents[5],out SuccessRate);
|
|
int.TryParse(contents[6],out OpenSkill);
|
|
int.TryParse(contents[7],out BlastFurnaceLV);
|
|
int.TryParse(contents[8],out AllTreasureLV);
|
|
int.TryParse(contents[9],out IsCoreSkill);
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|