// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// taskDaily
public sealed class taskDailyTable : ITable
{
long ITable.Key => Id;
/// 功能id10001=每日任务
public int Id { get; private set; }
/// 任务种类关联desc表id
public int Kind { get; private set; }
/// 任务数值
public int Parameter { get; private set; }
/// 每日积分
public int Reward { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Kind = reader.ReadInt();
Parameter = reader.ReadInt();
Reward = reader.ReadInt();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Kind);
writer.Write(Parameter);
writer.Write(Reward);
}
}
}