WoW:API GetTitleName: Difference between revisions

m
Move page script moved page API GetTitleName to WoW:API GetTitleName without leaving a redirect
(Cleaned up the article and updated it according to the current boilerplate.)
m (Move page script moved page API GetTitleName to WoW:API GetTitleName without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:


Gets the name of the title associated with a title index.
Gets the name of the title associated with a title index.
  local titleName = GetTitleName(titleId)
  local titleName = GetTitleName([[titleId]])




== Arguments ==
== Arguments ==
:;titleId : Number - The index of the title to get the name of.
:;[[titleId]] : Number - The index of the title to get the name of.




Line 17: Line 17:
== Example ==
== Example ==
  local titleId = GetCurrentTitle();
  local titleId = GetCurrentTitle();
  local titleName = GetTitleName(titleId);
  local titleName = GetTitleName([[titleId]]);




== Details ==
== Details ==
: Introduced in build 20000.
: Introduced in build 20000.
Anonymous user