wip: generate report
This commit is contained in:
@@ -100,21 +100,17 @@ func (t Tech) String() string {
|
||||
}
|
||||
|
||||
type ShipGroup struct {
|
||||
Index uint `json:"index"` // FIXME: use UUID for Group Index (ordered)
|
||||
OwnerID uuid.UUID `json:"ownerId"` // Race link
|
||||
TypeID uuid.UUID `json:"typeId"` // ShipType link
|
||||
FleetID *uuid.UUID `json:"fleetId,omitempty"` // Fleet link
|
||||
Number uint `json:"number"` // Number (quantity) ships of specific ShipType
|
||||
|
||||
CargoType *CargoType `json:"loadType,omitempty"`
|
||||
Load Float `json:"load"` // Cargo loaded - "Масса груза"
|
||||
|
||||
Tech TechSet `json:"tech"`
|
||||
|
||||
// TODO: TEST: Destination, Origin, Range
|
||||
Destination uint `json:"destination"`
|
||||
StateInSpace *InSpace `json:"stateInSpace,omitempty"`
|
||||
StateUpgrade *InUpgrade `json:"stateUpgrade,omitempty"`
|
||||
Index uint `json:"index"` // FIXME: use UUID for Group Index (ordered)
|
||||
OwnerID uuid.UUID `json:"ownerId"` // Race link
|
||||
TypeID uuid.UUID `json:"typeId"` // ShipType link
|
||||
FleetID *uuid.UUID `json:"fleetId,omitempty"` // Fleet link
|
||||
Number uint `json:"number"` // Number (quantity) ships of specific ShipType
|
||||
CargoType *CargoType `json:"loadType,omitempty"` //
|
||||
Load Float `json:"load"` // Cargo loaded - "Масса груза"
|
||||
Tech TechSet `json:"tech"` //
|
||||
Destination uint `json:"destination"` // TODO: TEST: Destination, Origin, Range
|
||||
StateInSpace *InSpace `json:"stateInSpace,omitempty"` //
|
||||
StateUpgrade *InUpgrade `json:"stateUpgrade,omitempty"` //
|
||||
}
|
||||
|
||||
func (sg ShipGroup) TechLevel(t Tech) Float {
|
||||
|
||||
Reference in New Issue
Block a user