wip: generate rest of report

This commit is contained in:
Ilia Denisov
2026-02-04 13:57:25 +02:00
parent adbe605783
commit abc98ee72f
10 changed files with 521 additions and 155 deletions
+35
View File
@@ -30,3 +30,38 @@ type IncomingGroup struct {
Speed Float `json:"speed"`
Mass Float `json:"mass"`
}
type LocalGroup struct {
OtherGroup
Index uint `json:"index"`
State string `json:"state"`
Fleet *string `json:"fleet"`
}
type OtherGroup struct {
Number uint `json:"number"`
Class string `json:"class"`
Tech map[string]Float `json:"tech"`
Cargo string `json:"cargo"`
Load Float `json:"load"`
Destination uint `json:"destination"`
Origin *uint `json:"origin,omitempty"`
Range *Float `json:"range,omitempty"`
Speed Float `json:"speed"`
Mass Float `json:"mass"`
}
type UnidentifiedGroup struct {
X Float `json:"x"`
Y Float `json:"y"`
}
type LocalFleet struct {
Name string `json:"name"`
Groups uint `json:"groups"`
Destination uint `json:"destination"`
Origin *uint `json:"origin,omitempty"`
Range *Float `json:"range,omitempty"`
Speed Float `json:"speed"`
State string `json:"state"`
}