// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// achieveReward
public sealed class achieveRewardTable : ITable
{
long ITable.Key => Id;
/// 功能id
public int Id { get; private set; }
/// 成就点(成就累计点击)
public int Dots { get; private set; }
/// 成就奖励道具id+数量
public int[] Reward { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Dots = reader.ReadInt();
Reward = reader.ReadEnumerable();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Dots);
writer.Write(Reward);
}
}
}