port.go 341 B

123456789101112131415161718192021222324252627282930
  1. package main
  2. type PortType uint8
  3. const (
  4. BBB PortType = iota
  5. SSS
  6. BBS
  7. SBB
  8. BSB
  9. SBS
  10. SSB
  11. BSS
  12. StarDock
  13. )
  14. type Port struct {
  15. ID ID
  16. Name string
  17. Owner ID
  18. CorpOwned bool
  19. Type PortType
  20. Credits uint64
  21. Ore uint64
  22. MaxOre uint64
  23. Org uint64
  24. MaxOrg uint64
  25. Equ uint64
  26. MaxEqu uint64
  27. }