WoW API: GetTitleName

Revision as of 15:23, 12 June 2007 by WoWWiki>Ravas (Cleaned up the article and updated it according to the current boilerplate.)

WoW API < GetTitleName


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

local titleName = GetTitleName(titleId)


Arguments

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


Returns

titleName
String - The name of the title.


Example

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


Details

Introduced in build 20000.