feat: surface SCUM vehicle functional state
This commit is contained in:
@@ -535,6 +535,10 @@ func scumVehicleFactsFromRows(rows []scumQueryRow, projection domain.GameClientB
|
||||
DisplayName: scumRowText(row, projection, "displayName"),
|
||||
LockedBySteamID: scumRowText(row, projection, "lockedBySteamId"),
|
||||
}
|
||||
if functional, ok := scumRowBool(row, projection, "functional"); ok {
|
||||
value := functional
|
||||
fact.Functional = &value
|
||||
}
|
||||
if exists, ok := scumRowBool(row, projection, "exists"); ok {
|
||||
value := exists
|
||||
fact.Exists = &value
|
||||
|
||||
Reference in New Issue
Block a user