123456789101112131415161718192021222324252627282930313233343536373839404142 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> guild </summary>
- public sealed class guildTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 公会功能ID </summary>
- public int Id { get; private set; }
- /// <summary> 功能名称 </summary>
- public string Name { get; private set; }
- /// <summary> 建筑立绘 </summary>
- public string Picture { get; private set; }
- /// <summary> 解锁条件角色等级+开服天数 </summary>
- public int[] Unlock { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Name = reader.ReadString();
- Picture = reader.ReadString();
- Unlock = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Name);
- writer.Write(Picture);
- writer.Write(Unlock);
- }
- }
- }
|