// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// desc
public sealed class descTable : ITable
{
long ITable.Key => Kind;
/// 任务种类
public int Kind { get; private set; }
/// 每日标题
public string Name { get; private set; }
/// 0注册开始累计或者1任务开始后累计
public int Type { get; private set; }
/// 功能key
public int FuncKey { get; private set; }
/// 跳转
public int JumpId { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Kind = reader.ReadInt();
Name = reader.ReadString();
Type = reader.ReadInt();
FuncKey = reader.ReadInt();
JumpId = reader.ReadInt();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Kind);
writer.Write(Name);
writer.Write(Type);
writer.Write(FuncKey);
writer.Write(JumpId);
}
}
}