m
Move page script moved page API UnitName to WoW:API UnitName without leaving a redirect
No edit summary |
m (Move page script moved page API UnitName to WoW:API UnitName without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 17: | Line 17: | ||
=== Returns === | === Returns === | ||
<!-- List each return value, together with its type --> | <!-- List each return value, together with its type --> | ||
:;name : String - The name of the specified unit, "nil" if not applicable (e.g., if the specified unit is "target" but the player has no target selected). | :;name | ||
:;realm : String - The realm the specified unit is from. | :: String - The name of the specified unit, "nil" if not applicable (e.g., if the specified unit is "target" but the player has no target selected). | ||
:;realm | |||
:: String - The realm the specified unit is from. For "player" returns nil, for any other character on your own realm returns an empty string. This is as of 1.12 | |||
== Example == | == Example == | ||