// 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
public int Id { 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[] StepUpCost { get; private set; }
/// 升级获得属性加成属性id+属性数值
public int[] StarOwnAttr { get; private set; }
/// 解锁道具道具id+数量
public int[] Itemid { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Step = reader.ReadInt();
Star = reader.ReadInt();
StarNeed = reader.ReadEnumerable();
StepUpCost = reader.ReadEnumerable();
StarOwnAttr = reader.ReadEnumerable();
Itemid = reader.ReadEnumerable();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Step);
writer.Write(Star);
writer.Write(StarNeed);
writer.Write(StepUpCost);
writer.Write(StarOwnAttr);
writer.Write(Itemid);
}
}
}