mirror of
https://github.com/Luzifer/sii.git
synced 2024-12-21 00:21:15 +00:00
Fix types
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
3a6b18f185
commit
8cf339ecb2
2 changed files with 8 additions and 8 deletions
|
@ -5,13 +5,13 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
type Company struct {
|
type Company struct {
|
||||||
PermanentData Ptr `sii:"permanent_data"` // external pointer
|
PermanentData Ptr `sii:"permanent_data"` // external pointer
|
||||||
DelieredTrailer Ptr `sii:"delivered_trailer"`
|
DelieredTrailer Ptr `sii:"delivered_trailer"`
|
||||||
DeliveredPos int64 `sii:"delivered_pos"`
|
DeliveredPos []Placement `sii:"delivered_pos"`
|
||||||
JobOffer []Ptr `sii:"job_offer"`
|
JobOffer []Ptr `sii:"job_offer"`
|
||||||
CargoOfferSeeds []int64 `sii:"cargo_offer_seeds"`
|
CargoOfferSeeds []int64 `sii:"cargo_offer_seeds"`
|
||||||
Discovered bool `sii:"discovered"`
|
Discovered bool `sii:"discovered"`
|
||||||
ReservedTrailerSlot Ptr `sii:"reserved_trailer_slot"` // TODO: Maybe wrong type, haven't seen other than "nil"
|
ReservedTrailerSlot Ptr `sii:"reserved_trailer_slot"` // TODO: Maybe wrong type, haven't seen other than "nil"
|
||||||
|
|
||||||
blockName string
|
blockName string
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ func init() {
|
||||||
|
|
||||||
type Trailer struct {
|
type Trailer struct {
|
||||||
TrailerDefinition Ptr `sii:"trailer_definition"`
|
TrailerDefinition Ptr `sii:"trailer_definition"`
|
||||||
CargoMass int64 `sii:"cargo_mass"`
|
CargoMass float32 `sii:"cargo_mass"`
|
||||||
CargoDamage float32 `sii:"cargo_damage"` // Needs verification
|
CargoDamage float32 `sii:"cargo_damage"` // Needs verification
|
||||||
VirtualRearWheelsOffset int64 `sii:"virtual_rear_wheels_offset"` // Needs verification
|
VirtualRearWheelsOffset int64 `sii:"virtual_rear_wheels_offset"` // Needs verification
|
||||||
SlaveTrailer Ptr `sii:"slave_trailer"`
|
SlaveTrailer Ptr `sii:"slave_trailer"`
|
||||||
|
|
Loading…
Reference in a new issue