// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// zuoqiInfo
public sealed class zuoqiInfoTable : ITable
{
long ITable.Key => Id;
/// 序号ID坐骑id*10000+阶级*100+星级
public int Id { get; private set; }
/// 坐骑id
public int Zqid { get; private set; }
/// 阶级
public int Step { get; private set; }
/// 星级
public int Star { get; private set; }
/// 升星道具道具id+经验值消耗
public int[] StarNeed { get; private set; }
/// 升级获得属性加成属性id+属性数值
public int[] StepOwnAttr { get; private set; }
/// 坐骑拥有技能[属性id+数值]
public int[] StarSkill { get; private set; }
/// 立绘
public string Picture { get; private set; } // c
/// 坐骑头像
public string Icon { get; private set; } // c
/// 坐骑待机
public string Spine { get; private set; } // c
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Zqid = reader.ReadInt();
Step = reader.ReadInt();
Star = reader.ReadInt();
StarNeed = reader.ReadEnumerable();
StepOwnAttr = reader.ReadEnumerable();
StarSkill = reader.ReadEnumerable();
Picture = reader.ReadString();
Icon = reader.ReadString();
Spine = reader.ReadString();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Zqid);
writer.Write(Step);
writer.Write(Star);
writer.Write(StarNeed);
writer.Write(StepOwnAttr);
writer.Write(StarSkill);
writer.Write(Picture);
writer.Write(Icon);
writer.Write(Spine);
}
}
}