// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// partnerCall
public sealed class partnerCallTable : ITable
{
long ITable.Key => Id;
/// 宝箱等级
public int Id { get; private set; }
/// 奖池(道具id)道具id+道具数量+道具权重(万)
public int[] Reward { get; private set; }
/// 升级经验
public int NeedExp { get; private set; }
/// 保底奖励道具id+道具数量+道具权重(万)
public int[] FloorsReward { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Reward = reader.ReadEnumerable();
NeedExp = reader.ReadInt();
FloorsReward = reader.ReadEnumerable();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Reward);
writer.Write(NeedExp);
writer.Write(FloorsReward);
}
}
}