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