// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// tiaozhan
public sealed class tiaozhanTable : ITable
{
long ITable.Key => Id;
/// 功能id
public int Id { get; private set; }
/// 挑战类型1=三星通关2=组队通关3=单人通关
public int Type { get; private set; }
/// 挑战条件多少秒内通关
public int Time { get; private set; }
/// 挑战任务名称
public string Name { get; private set; }
/// 挑战任务描述
public string Desc { get; private set; }
/// 关联副本id
public int Copysktlid { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Type = reader.ReadInt();
Time = reader.ReadInt();
Name = reader.ReadString();
Desc = reader.ReadString();
Copysktlid = reader.ReadInt();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Type);
writer.Write(Time);
writer.Write(Name);
writer.Write(Desc);
writer.Write(Copysktlid);
}
}
}