// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// EquipmentDrop
public sealed class EquipmentDropTable : ITable
{
long ITable.Key => Id;
/// ID
public int Id { get; private set; }
/// 等级期间
public int[] LevelPeriod { get; private set; }
/// 掉落白色装备ID
public int[] DropPool1 { get; private set; }
/// 掉落绿色装备ID
public int[] DropPool2 { get; private set; }
/// 掉落蓝色装备ID
public int[] DropPool3 { get; private set; }
/// 掉落紫色装备ID
public int[] DropPool4 { get; private set; }
/// 掉落黄色装备ID
public int[] DropPool5 { get; private set; }
/// 掉落橙色装备ID
public int[] DropPool6 { get; private set; }
/// 掉落红色装备ID
public int[] DropPool7 { get; private set; }
/// 掉落粉色装备ID
public int[] DropPool8 { get; private set; }
/// 掉落蓝钻装备ID
public int[] DropPool9 { get; private set; }
/// 掉落鎏金装备ID
public int[] DropPool10 { get; private set; }
/// 掉落璀璨装备ID
public int[] DropPool11 { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
LevelPeriod = reader.ReadEnumerable();
DropPool1 = reader.ReadEnumerable();
DropPool2 = reader.ReadEnumerable();
DropPool3 = reader.ReadEnumerable();
DropPool4 = reader.ReadEnumerable();
DropPool5 = reader.ReadEnumerable();
DropPool6 = reader.ReadEnumerable();
DropPool7 = reader.ReadEnumerable();
DropPool8 = reader.ReadEnumerable();
DropPool9 = reader.ReadEnumerable();
DropPool10 = reader.ReadEnumerable();
DropPool11 = reader.ReadEnumerable();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(LevelPeriod);
writer.Write(DropPool1);
writer.Write(DropPool2);
writer.Write(DropPool3);
writer.Write(DropPool4);
writer.Write(DropPool5);
writer.Write(DropPool6);
writer.Write(DropPool7);
writer.Write(DropPool8);
writer.Write(DropPool9);
writer.Write(DropPool10);
writer.Write(DropPool11);
}
}
}