// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// rune_exp
public sealed class rune_expTable : ITable
{
long ITable.Key => Id;
/// 功能id
public int Id { get; private set; }
/// 印记槽位等级
public int Level { get; private set; }
/// 印记槽位升级消耗
public int[] Cost { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Level = reader.ReadInt();
Cost = reader.ReadEnumerable();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Level);
writer.Write(Cost);
}
}
}