//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class LanguageConfig : ConfigBase {
|
|
public string id;
|
public string content;
|
|
public override string getKey()
|
{
|
return id.ToString();
|
}
|
|
public override void Parse(string rawContent) {
|
try
|
{
|
var contents = rawContent.Split('\t');
|
|
id = contents[0].Trim();
|
|
content = contents[1].Trim();
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|
|
|
|
|