// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// zuoqiStar
public sealed class zuoqiStarTable : ITable
{
long ITable.Key => Id;
/// id1000*坐骑id+1
public int Id { get; private set; }
/// 坐骑id
public int Zqid { get; private set; }
/// 等级
public int Level { get; private set; }
/// 升星道具道具id+数量
public int[] StarUpCost { get; private set; }
/// 升星获得属性加成属性id+属性数值
public int[] LevelOwnAttr { get; private set; }
/// 额外坐骑技能技能id
public int[] StarSkill { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Zqid = reader.ReadInt();
Level = reader.ReadInt();
StarUpCost = reader.ReadEnumerable();
LevelOwnAttr = reader.ReadEnumerable();
StarSkill = reader.ReadEnumerable();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Zqid);
writer.Write(Level);
writer.Write(StarUpCost);
writer.Write(LevelOwnAttr);
writer.Write(StarSkill);
}
}
}