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