WoW API: GetTitleName

WoW API < GetTitleName


Gets the name of the title associated with a title index.

local titleName = GetTitleName(titleId)


ArgumentsEdit

titleId
Number - The index of the title to get the name of.


ReturnsEdit

titleName
String - The name of the title.


ExampleEdit

local titleId = GetCurrentTitle();
local titleName = GetTitleName(titleId);


DetailsEdit

Introduced in build 20000.