Code format

This commit is contained in:
2025-05-04 14:32:03 +02:00
parent c0337ef97f
commit 93b45ac12e
3012 changed files with 8372 additions and 9301 deletions

View File

@@ -1,7 +1,7 @@
---@diagnostic disable: missing-return, lowercase-global
---@param unit string
---@param name string
---@return boolean hasVehicle
---@param unit string
---@param name string
---@return boolean hasVehicle
---Returns whether a unit is controlling a vehicle or vehicle weapon. Used in the default UI to show the vehicle's health and power status bars in place of the controlling unit's. Returns false for passengers riding in but not controlling part of a vehicle; to find out whether a unit is riding in a vehicle, use UnitInVehicle. Also note that in some vehicles the player can command a vehicle weapon (e.g. gun turret) without controlling the vehicle itself; to find out whether a unit is controlling a vehicle, use UnitControllingVehicle.
function UnitHasVehicleUI(unit, name) end
function UnitHasVehicleUI(unit, name) end