// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// I18nDatabase
public sealed class I18nDatabaseTable : ITable
{
long ITable.Key => Id;
/// 编号
public int Id { get; private set; }
/// 关键字
public string Key { get; private set; }
/// 简体中文
public string Zh_cn { get; private set; }
/// 英文
public string Us { get; private set; }
/// 韩文
public string Kr { get; private set; }
/// 繁体中文
public string Zh_tw { get; private set; }
/// 日语
public string Jp { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Key = reader.ReadString();
Zh_cn = reader.ReadString();
Us = reader.ReadString();
Kr = reader.ReadString();
Zh_tw = reader.ReadString();
Jp = reader.ReadString();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Key);
writer.Write(Zh_cn);
writer.Write(Us);
writer.Write(Kr);
writer.Write(Zh_tw);
writer.Write(Jp);
}
}
}