//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class CrossServerArenaConfig : ConfigBase {
|
|
public int DanLV;
|
public string Name;
|
public int DanType;
|
public string IconKey;
|
public int LVUpScore;
|
public string DanLVAwardList;
|
public string SeasonAwardList;
|
|
public override string getKey()
|
{
|
return DanLV.ToString();
|
}
|
|
public override void Parse(string content) {
|
try
|
{
|
var contents = content.Split('\t');
|
|
int.TryParse(contents[0],out DanLV);
|
|
Name = contents[1];
|
|
int.TryParse(contents[2],out DanType);
|
|
IconKey = contents[3];
|
|
int.TryParse(contents[4],out LVUpScore);
|
|
DanLVAwardList = contents[5];
|
|
SeasonAwardList = contents[6];
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|
|
|
|
|