well, fuck...
This commit is contained in:
+16
-7
@@ -7,14 +7,23 @@ import (
|
||||
"github.com/iliadenisov/galaxy/pkg/number"
|
||||
)
|
||||
|
||||
type ShipTypeReport struct {
|
||||
Name string `json:"name"`
|
||||
Drive float64 `json:"drive"` // [0], [1...]
|
||||
Armament uint `json:"armament"`
|
||||
Weapons float64 `json:"weapons"` // [0], [1...]
|
||||
Shields float64 `json:"shields"` // [0], [1...]
|
||||
Cargo float64 `json:"cargo"` // [0], [1...]
|
||||
}
|
||||
|
||||
type ShipType struct {
|
||||
ID uuid.UUID `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Drive float64 `json:"drive"` // [0], [1...]
|
||||
Armament uint `json:"armament"`
|
||||
Weapons float64 `json:"weapons"` // [0], [1...]
|
||||
Shields float64 `json:"shields"` // [0], [1...]
|
||||
Cargo float64 `json:"cargo"` // [0], [1...]
|
||||
ID uuid.UUID `json:"id"`
|
||||
ShipTypeReport
|
||||
}
|
||||
|
||||
type ShipTypeReportForeign struct {
|
||||
RaceName string
|
||||
ShipTypeReport
|
||||
}
|
||||
|
||||
type ShipGroup struct {
|
||||
|
||||
Reference in New Issue
Block a user