1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> guildPost </summary>
- public sealed class guildPostTable : ITable
- {
- long ITable.Key => Level;
- /// <summary> 贡献等级 </summary>
- public int Level { get; private set; }
- /// <summary> 贡献经验 </summary>
- public int Exp { get; private set; }
- /// <summary> 升级贡献等级奖励道具id+数量 </summary>
- public int[] Reward { get; private set; }
- /// <summary> 每日领取贡献等级奖励道具id+数量 </summary>
- public int[] DayReward { get; private set; }
- /// <summary> 可接取任务贡献等级公会任务di+概率权重 </summary>
- public int[] TaskPost { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Level = reader.ReadInt();
- Exp = reader.ReadInt();
- Reward = reader.ReadEnumerable<int[]>();
- DayReward = reader.ReadEnumerable<int[]>();
- TaskPost = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Level);
- writer.Write(Exp);
- writer.Write(Reward);
- writer.Write(DayReward);
- writer.Write(TaskPost);
- }
- }
- }
|