// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// partnerLvUp
public sealed class partnerLvUpTable : ITable
{
long ITable.Key => Id;
/// 圣兵ID*1000+等级
public int Id { get; private set; } // sc
public int PetId { get; private set; } // sc
public int Level { get; private set; } // sc
/// 升级道具ID,升级经验消耗数量
public int[] LevelUpCost { get; private set; } // sc
/// 属性名称1,属性值,属性名称2,属性值……
public int[] LvAttr { get; private set; } // sc
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
PetId = reader.ReadInt();
Level = reader.ReadInt();
LevelUpCost = reader.ReadEnumerable();
LvAttr = reader.ReadEnumerable();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(PetId);
writer.Write(Level);
writer.Write(LevelUpCost);
writer.Write(LvAttr);
}
}
}