UnitVehicleSeatInfo
functionguessedavailable in: camelot
Returns information about a seat of the unit's vehicle: its occupant's name and realm, its kind, and whether the occupant can eject and switch seats. · description by wowlua
function UnitVehicleSeatInfo( unit: string, virtualSeatIndex: number): (string?, string?, string?, boolean?, boolean?)Parameters
| name | type | description |
|---|---|---|
unit | string | |
virtualSeatIndex | number | The seat's index. |
Returns
| # | name | type |
|---|---|---|
| 1 | controlType | string? |
| 2 | occupantName | string? |
| 3 | serverName | string? |
| 4 | ejectable | boolean? |
| 5 | canSwitchSeats | boolean? |
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Unit system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.