// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// copy_ygyj
public sealed class copy_ygyjTable : ITable
{
long ITable.Key => Id;
/// 功能id
public int Id { get; private set; }
/// 难度等级
public int Difficulty { get; private set; }
/// 副本怪物怪物id+怪物数量
public int[] Monsterid { get; private set; }
/// 副本奖励
public int[] Reward { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Difficulty = reader.ReadInt();
Monsterid = reader.ReadEnumerable();
Reward = reader.ReadEnumerable();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Difficulty);
writer.Write(Monsterid);
writer.Write(Reward);
}
}
}