WoW API: GetTitleName

Revision as of 04:46, 15 August 2023 by Move page script (talk) (Move page script moved page API GetTitleName to API GetTitleName without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.