//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class XBGetItemConfig : ConfigBase {
|
|
public int ID;
|
public int TreasureType;
|
public int MinLV;
|
public string GridItemInfo;
|
public string JobItemList;
|
public int LuckyGridNum;
|
|
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 TreasureType);
|
|
int.TryParse(contents[2],out MinLV);
|
|
GridItemInfo = contents[3];
|
|
JobItemList = contents[4];
|
|
int.TryParse(contents[5],out LuckyGridNum);
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|
|
|
|
|