//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class NewAllPeoplePartyConfig : ConfigBase {
|
|
public int ID;
|
public int TotalTimes;
|
public int AddPoint;
|
public string TaskDes;
|
public int FuncID;
|
public int JumpId;
|
public string IconKey;
|
|
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 TotalTimes);
|
|
int.TryParse(contents[2],out AddPoint);
|
|
TaskDes = contents[3];
|
|
int.TryParse(contents[4],out FuncID);
|
|
int.TryParse(contents[5],out JumpId);
|
|
IconKey = contents[6];
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|
|
|
|
|