// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// Level
public sealed class LevelTable : ITable
{
long ITable.Key => Level;
/// 等级
public int Level { get; private set; } // sc
/// 升级所需的总经验
public long Exp { get; private set; } // sc
void ISerializable.Deserialize(IReader reader)
{
Level = reader.ReadInt();
Exp = reader.ReadLong();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Level);
writer.Write(Exp);
}
}
}