WoW:API GetTitleName: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
__NOTOC__ | __NOTOC__ | ||
== Notes == | |||
Supported starting in build 20000 | |||
Revision as of 19:14, 5 December 2006
Get the name of the title used by the player.
titleName = GetTitleName(titleId)
Parameters
Arguments
- (titleId)
- titleId
- Number - The number of the title currently select by the player.
Returns
- name
- name
- String - The name of the title.
Example
local titleId = GetCurrentTitle(); local titleName = GetTitleName(titleId);
Notes
Supported starting in build 20000