UnitName
functionimplementedavailable in: camelot
Returns the name and realm of the unit.
function UnitName( unit: string): (string, string)Parameters
| name | type | description |
|---|---|---|
unit | string | For example "player" or "target" |
Returns
| # | name | type |
|---|---|---|
| 1 | unitName | string |
| 2 | unitServer | string |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Unit system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.