// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// fishingPierReward
public sealed class fishingPierRewardTable : ITable
{
long ITable.Key => Id;
/// 捕鱼id
public int Id { get; private set; }
/// 渔网名字
public string Name { get; private set; }
/// 捕鱼时长(s)
public int RewardCd { get; private set; }
/// 捕鱼奖励(道具id,道具数量)
public int[] Reward { get; private set; }
/// 捕鱼中状态
public string Immaturity { get; private set; }
/// 捕鱼完状态
public string Status { get; private set; }
/// 额外收获额外收获概率,额外收获数量
public int[] Mature { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Name = reader.ReadString();
RewardCd = reader.ReadInt();
Reward = reader.ReadEnumerable();
Immaturity = reader.ReadString();
Status = reader.ReadString();
Mature = reader.ReadEnumerable();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Name);
writer.Write(RewardCd);
writer.Write(Reward);
writer.Write(Immaturity);
writer.Write(Status);
writer.Write(Mature);
}
}
}