//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class ItemPlusMaxConfig : ConfigBase {
|
|
public int id;
|
public int EquipType;
|
public int equipPhase;
|
public int equipColor;
|
public int levelMax;
|
|
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 EquipType);
|
|
int.TryParse(contents[2],out equipPhase);
|
|
int.TryParse(contents[3],out equipColor);
|
|
int.TryParse(contents[4],out levelMax);
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|