WoW:API GetTitleName
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