//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class FamilyConfig : ConfigBase {
|
|
public int familyLV;
|
public int memberCnt;
|
public int deputyLeaderCnt;
|
public int eliteCnt;
|
public int needMoney;
|
public int weekMissionMoneyMax;
|
public int bossFBCnt;
|
|
public override string getKey()
|
{
|
return familyLV.ToString();
|
}
|
|
public override void Parse(string content) {
|
try
|
{
|
var contents = content.Split('\t');
|
|
int.TryParse(contents[0],out familyLV);
|
|
int.TryParse(contents[1],out memberCnt);
|
|
int.TryParse(contents[2],out deputyLeaderCnt);
|
|
int.TryParse(contents[3],out eliteCnt);
|
|
int.TryParse(contents[4],out needMoney);
|
|
int.TryParse(contents[5],out weekMissionMoneyMax);
|
|
int.TryParse(contents[6],out bossFBCnt);
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|
|
|
|
|