// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// guildMonster
public sealed class guildMonsterTable : ITable
{
long ITable.Key => Id;
/// 功能ID1000*100+血量层数*10
public int Id { get; private set; }
/// 怪物id
public int MonsterId { get; private set; }
/// 血量重数
public int Hp { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
MonsterId = reader.ReadInt();
Hp = reader.ReadInt();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(MonsterId);
writer.Write(Hp);
}
}
}