// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// treasureBonus
public sealed class treasureBonusTable : ITable
{
long ITable.Key => Id;
/// 宝箱奖励ID
public int Id { get; private set; }
/// 宝箱积分进度值
public int Progress { get; private set; }
/// 奖励宝箱
public int Reward { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Progress = reader.ReadInt();
Reward = reader.ReadInt();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Progress);
writer.Write(Reward);
}
}
}