// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// arena_jqr
public sealed class arena_jqrTable : ITable
{
long ITable.Key => Id;
/// 功能ID
public int Id { get; private set; }
/// 1=新手机器人2=排行机器人
public int Type { get; private set; }
/// 机器人等级
public int Level { get; private set; }
/// 机器人装备(装备id+装备等级)
public int[] Equip { get; private set; }
/// 机器人圣兵(圣兵id+等级)
public int[] Equip_2 { get; private set; }
/// 机器人铭文(铭文id+等级)
public int[] Skill { get; private set; }
/// 机器人战力
public int Power { get; private set; }
/// 机器人积分积分数量
public int Integral { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Type = reader.ReadInt();
Level = reader.ReadInt();
Equip = reader.ReadEnumerable();
Equip_2 = reader.ReadEnumerable();
Skill = reader.ReadEnumerable();
Power = reader.ReadInt();
Integral = reader.ReadInt();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Type);
writer.Write(Level);
writer.Write(Equip);
writer.Write(Equip_2);
writer.Write(Skill);
writer.Write(Power);
writer.Write(Integral);
}
}
}