WoW API: GetTitleName

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetTitleName


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

local titleName = GetTitleName(titleId)


Arguments[edit]

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


Returns[edit]

titleName
String - The name of the title.


Example[edit]

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


Details[edit]

Introduced in build 20000.