//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class IceLodeStarAwardConfig : ConfigBase {
|
|
public int id;
|
public int index;
|
public int Star;
|
public string LV;
|
public string ItemList;
|
public int Type;
|
|
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 index);
|
|
int.TryParse(contents[2],out Star);
|
|
LV = contents[3];
|
|
ItemList = contents[4];
|
|
int.TryParse(contents[5],out Type);
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|
|
|
|
|