WoW:API GetTitleName: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (flagged as API stub)
Line 1: Line 1:
{{Stub/API}}
Get the name of the title used by the player.
Get the name of the title used by the player.



Revision as of 18:48, 14 December 2006

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