// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// zuoqiBuwei
public sealed class zuoqiBuweiTable : ITable
{
long ITable.Key => Id;
/// 功能id10001=头部20001=躯干30001=尾部
public int Id { get; private set; }
/// 功能id10001=头部20001=躯干30001=尾部
public int Trunk { get; private set; }
/// 部位等级
public int Level { get; private set; }
/// 升级获得属性加成属性id+属性数值
public int[] LevelOwnAttr { get; private set; }
/// 强化概率(部位总等级+强化概率)
public int[] Odds { get; private set; }
/// 祝福值
public int Success { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Trunk = reader.ReadInt();
Level = reader.ReadInt();
LevelOwnAttr = reader.ReadEnumerable();
Odds = reader.ReadEnumerable();
Success = reader.ReadInt();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Trunk);
writer.Write(Level);
writer.Write(LevelOwnAttr);
writer.Write(Odds);
writer.Write(Success);
}
}
}