feat: surface SCUM vehicle functional state

This commit is contained in:
npc0-hue
2026-09-18 16:56:36 +08:00
parent 156392df1e
commit 60d479db71
13 changed files with 62 additions and 17 deletions
+2
View File
@@ -95,6 +95,8 @@ type SCUMVehicle struct {
Exists bool `json:"exists" db:"exists"`
// Locked marks the latest observed lock state.
Locked bool `json:"locked" db:"locked"`
// Functional is the latest game-reported vehicle functional state when available.
Functional *bool `json:"functional,omitempty" db:"functional"`
// X stores the latest observed world X coordinate.
X *float64 `json:"x,omitempty" db:"x"`
// Y stores the latest observed world Y coordinate.