// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// artifactFumo
public sealed class artifactFumoTable : ITable
{
long ITable.Key => Id;
/// 序号ID元素核心id*10000+核心等级
public int Id { get; private set; }
/// 元素核心id
public int Ysid { get; private set; }
/// 元素核心等级
public int Level { get; private set; } // sc
/// 升级消耗元素核心ID,升级元素核心所消耗数量
public int[] StarUpCost { get; private set; } // sc
/// 秘宝元素核心属性属性名称1,属性值
public int[] StarOwnAttr { get; private set; } // sc
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Ysid = reader.ReadInt();
Level = reader.ReadInt();
StarUpCost = reader.ReadEnumerable();
StarOwnAttr = reader.ReadEnumerable();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Ysid);
writer.Write(Level);
writer.Write(StarUpCost);
writer.Write(StarOwnAttr);
}
}
}