123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> I18nService </summary>
- public sealed class I18nServiceTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 编号 </summary>
- public int Id { get; private set; }
- /// <summary> 关键字 </summary>
- public string Key { get; private set; }
- /// <summary> 简体中文 </summary>
- public string Zh_cn { get; private set; }
- /// <summary> 英文 </summary>
- public string Us { get; private set; }
- /// <summary> 韩文 </summary>
- public string Kr { get; private set; }
- /// <summary> 繁体中文 </summary>
- public string Zh_tw { get; private set; }
- /// <summary> 日语 </summary>
- 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);
- }
- }
- }
|