ship.go 422 B

12345678910111213141516171819202122232425262728
  1. package main
  2. type ShipModel struct {
  3. ID ID
  4. Name string
  5. MaxFighters uint64
  6. MaxShields uint64
  7. GenShieldAmount uint64
  8. GenShieldTurns uint64
  9. GenFighterAmount uint64
  10. GenFighterTurns uint64
  11. CanLand bool
  12. AttackRatio float32
  13. DefenseRatio float32
  14. CanWarp bool
  15. }
  16. type Ship struct {
  17. ID ID
  18. Owner ID
  19. CorpOwned bool
  20. Model ID
  21. Name string
  22. Fighters uint64
  23. Shields uint64
  24. GenFighterTick uint64
  25. GenShieldTick uint64
  26. }