WoW:API GetTitleName: Difference between revisions
Jump to navigation
Jump to search
Cleaned up the article and updated it according to the current boilerplate.
m (flagged as API stub) |
(Cleaned up the article and updated it according to the current boilerplate.) |
||
| Line 1: | Line 1: | ||
{{ | {{wowapi}} __NOTOC__ | ||
:;titleId : Number - The | Gets the name of the title associated with a title index. | ||
local titleName = GetTitleName(titleId) | |||
:name | |||
== Arguments == | |||
:;titleId : Number - The index of the title to get the name of. | |||
== Returns == | |||
:;titleName : String - The name of the title. | |||
== Example == | == Example == | ||
local titleId = GetCurrentTitle(); | local titleId = GetCurrentTitle(); | ||
local titleName = GetTitleName(titleId); | local titleName = GetTitleName(titleId); | ||
== | |||
== Details == | |||
: Introduced in build 20000. | |||