fishingPierReleaseTable.cs 823 B

1234567891011121314151617181920212223242526272829303132
  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> fishingPierRelease </summary>
  8. public sealed class fishingPierReleaseTable : ITable
  9. {
  10. long ITable.Key => Id;
  11. /// <summary> 地块编号 </summary>
  12. public int Id { get; private set; }
  13. /// <summary> 解锁方式解锁科技id(解锁科技后解锁地块) </summary>
  14. public int UnlockType { get; private set; }
  15. void ISerializable.Deserialize(IReader reader)
  16. {
  17. Id = reader.ReadInt();
  18. UnlockType = reader.ReadInt();
  19. }
  20. void ISerializable.Serialize(IWriter writer)
  21. {
  22. writer.Write(Id);
  23. writer.Write(UnlockType);
  24. }
  25. }
  26. }