fishingPierTable.cs 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // Generate By EToy
  2. // Don't Edit It!!
  3. using XGame.Framework.Database;
  4. using XGame.Framework.Serialization;
  5. namespace XGame.Database
  6. {
  7. /// <summary> fishingPier </summary>
  8. public sealed class fishingPierTable : ITable
  9. {
  10. long ITable.Key => Id;
  11. /// <summary> id </summary>
  12. public int Id { get; private set; }
  13. /// <summary> 每日免费渔网初始数量 </summary>
  14. public int Quantity { get; private set; }
  15. /// <summary> 加速道具(小)初始数量 </summary>
  16. public int Quantity2 { get; private set; }
  17. /// <summary> 加速道具(小)回复时间时间(S),回复道具数量 </summary>
  18. public int[] PropCd { get; private set; }
  19. /// <summary> 加速道具(小)加速时间S </summary>
  20. public int Expedite { get; private set; }
  21. /// <summary> 加速道具(大)加速时间S </summary>
  22. public int Expedite2 { get; private set; }
  23. /// <summary> 偷取鱼货时间S </summary>
  24. public int ThiefCd { get; private set; }
  25. /// <summary> 偷取鱼货数量1=免费渔船,2=普通渔船,3=高级渔船渔船类型,偷取数量 </summary>
  26. public int[] ThiefQuantity { get; private set; }
  27. void ISerializable.Deserialize(IReader reader)
  28. {
  29. Id = reader.ReadInt();
  30. Quantity = reader.ReadInt();
  31. Quantity2 = reader.ReadInt();
  32. PropCd = reader.ReadEnumerable<int[]>();
  33. Expedite = reader.ReadInt();
  34. Expedite2 = reader.ReadInt();
  35. ThiefCd = reader.ReadInt();
  36. ThiefQuantity = reader.ReadEnumerable<int[]>();
  37. }
  38. void ISerializable.Serialize(IWriter writer)
  39. {
  40. writer.Write(Id);
  41. writer.Write(Quantity);
  42. writer.Write(Quantity2);
  43. writer.Write(PropCd);
  44. writer.Write(Expedite);
  45. writer.Write(Expedite2);
  46. writer.Write(ThiefCd);
  47. writer.Write(ThiefQuantity);
  48. }
  49. }
  50. }