//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, May 29, 2018
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class PriorLanguageConfig : ConfigBase {
|
|
public int Key { get ; private set ; }
|
public string Content { get ; private set; }
|
|
public override string getKey()
|
{
|
return Key.ToString();
|
}
|
|
public override void Parse() {
|
try
|
{
|
Key=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
|
Content = rawContents[1].Trim();
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|