1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> guildPower </summary>
- public sealed class guildPowerTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 功能ID </summary>
- public int Id { get; private set; }
- /// <summary> 公会职位 </summary>
- public string Posts { get; private set; }
- /// <summary> 职位数量 </summary>
- public int PostsNumber { get; private set; }
- /// <summary> 职位权限1=修改公告2=批准玩家入会3=升降成员职位4=移除成员5=修改公会名前缀6=修改公会名称7=修改公会加入方式 </summary>
- public int[] Power { get; private set; }
- /// <summary> 按钮显示1=拜访按钮2=委任按钮3=转让按钮4=晋升按钮5=贡献按钮6=查看按钮 </summary>
- public int[] Icon { get; private set; } // c
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Posts = reader.ReadString();
- PostsNumber = reader.ReadInt();
- Power = reader.ReadEnumerable<int[]>();
- Icon = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Posts);
- writer.Write(PostsNumber);
- writer.Write(Power);
- writer.Write(Icon);
- }
- }
- }
|