12345678910111213141516171819202122232425262728293031323334353637 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> guildMonster </summary>
- public sealed class guildMonsterTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 功能ID1000*100+血量层数*10 </summary>
- public int Id { get; private set; }
- /// <summary> 怪物id </summary>
- public int MonsterId { get; private set; }
- /// <summary> 血量重数 </summary>
- 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);
- }
- }
- }
|