// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// copy_sktl
public sealed class copy_sktlTable : ITable
{
long ITable.Key => Id;
/// 功能id
public int Id { get; private set; }
/// 副本难度1=简单2=普通3=困难
public int Kind { get; private set; }
/// 副本怪物波次1怪物id+怪物数量
public int[] Monsterid { get; private set; }
/// 副本怪物波次2怪物id+怪物数量
public int[] Monsterid2 { get; private set; }
/// 副本怪物波次3怪物id+怪物数量
public int[] Monsterid3 { get; private set; }
/// 副本主题名称
public string Name { get; private set; }
/// 推荐等级
public int Level { get; private set; }
/// 副本奖励
public int[] Reward { get; private set; }
/// 挑战奖励道具id+道具数量
public int[] Reward2 { get; private set; }
/// 挑战加成开服天数+属性id+属性参数
public int[] Reward3 { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Kind = reader.ReadInt();
Monsterid = reader.ReadEnumerable();
Monsterid2 = reader.ReadEnumerable();
Monsterid3 = reader.ReadEnumerable();
Name = reader.ReadString();
Level = reader.ReadInt();
Reward = reader.ReadEnumerable();
Reward2 = reader.ReadEnumerable();
Reward3 = reader.ReadEnumerable();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Kind);
writer.Write(Monsterid);
writer.Write(Monsterid2);
writer.Write(Monsterid3);
writer.Write(Name);
writer.Write(Level);
writer.Write(Reward);
writer.Write(Reward2);
writer.Write(Reward3);
}
}
}