// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// fishingPier
public sealed class fishingPierTable : ITable
{
long ITable.Key => Id;
/// id
public int Id { get; private set; }
/// 每日免费渔网初始数量
public int Quantity { get; private set; }
/// 加速道具(小)初始数量
public int Quantity2 { get; private set; }
/// 加速道具(小)回复时间时间(S),回复道具数量
public int[] PropCd { get; private set; }
/// 加速道具(小)加速时间S
public int Expedite { get; private set; }
/// 加速道具(大)加速时间S
public int Expedite2 { get; private set; }
/// 偷取鱼货时间S
public int ThiefCd { get; private set; }
/// 偷取鱼货数量1=免费渔船,2=普通渔船,3=高级渔船渔船类型,偷取数量
public int[] ThiefQuantity { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Quantity = reader.ReadInt();
Quantity2 = reader.ReadInt();
PropCd = reader.ReadEnumerable();
Expedite = reader.ReadInt();
Expedite2 = reader.ReadInt();
ThiefCd = reader.ReadInt();
ThiefQuantity = reader.ReadEnumerable();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Quantity);
writer.Write(Quantity2);
writer.Write(PropCd);
writer.Write(Expedite);
writer.Write(Expedite2);
writer.Write(ThiefCd);
writer.Write(ThiefQuantity);
}
}
}