wip: generate report
This commit is contained in:
@@ -27,9 +27,9 @@ type PlanetReport struct {
|
||||
Population Float `json:"population"` // P - Население
|
||||
Colonists Float `json:"colonists"` // COL C - Количество колонистов
|
||||
Production Production `json:"production"` // TODO: internal/report format
|
||||
// Параметр "L" - Свободный производственный потенциал
|
||||
}
|
||||
|
||||
// TODO: unwrap in one struct
|
||||
type Planet struct {
|
||||
Owner uuid.UUID `json:"owner"` // FIXME: nil value when no owner
|
||||
Route map[RouteType]uint `json:"route"`
|
||||
|
||||
Reference in New Issue
Block a user