WoW:TitleId: Difference between revisions

31 bytes added ,  16 May 2014
Undo revision 2714314 by 186.233.78.124 (talk)
(281)
(Undo revision 2714314 by 186.233.78.124 (talk))
Line 1: Line 1:
{{DISPLAYTITLE:titleID}}
{{DISPLAYTITLE:titleID}}
{{wowapitype}}<br>
{{wowapitype}}<br />
titleIDs are used for retrieving and setting the player's displayed title, e.g. "Champion of the Naaru" or "Private"
titleIDs are used for retrieving and setting the player's displayed title, e.g. "Champion of the Naaru" or "Private"


Line 8: Line 8:


{| class="sortable darktable"
{| class="sortable darktable"
|+ TitleId (as of Patch 3.3.3a)
|+TitleId (as of Patch 3.3.3a)
|-
|-
! TitleId !! Prefix !! Suffix
! TitleId !! Prefix !! Suffix
|-
|-
| 001 || Private ||  
| 001 || Private ||
|-class="alt"
|-class="alt"
| 002 || Corporal ||
| 002 || Corporal ||
Line 32: Line 32:
| 010 || Lieutenant Commander ||
| 010 || Lieutenant Commander ||
|-
|-
| 011 || Commander ||  
| 011 || Commander ||
|-class="alt"
|-class="alt"
| 012 || Marshal ||
| 012 || Marshal ||
Line 52: Line 52:
| 020 || Stone Guard ||
| 020 || Stone Guard ||
|-
|-
| 021 || Blood Guard ||  
| 021 || Blood Guard ||
|-class="alt"
|-class="alt"
| 022 || Legionnaire ||
| 022 || Legionnaire ||
Line 72: Line 72:
| 030 || Duelist ||
| 030 || Duelist ||
|-
|-
| 031 || Rival ||  
| 031 || Rival ||
|-class="alt"
|-class="alt"
| 032 || Challenger ||
| 032 || Challenger ||
Line 92: Line 92:
| 040 || Vengeful Gladiator ||
| 040 || Vengeful Gladiator ||
|-
|-
| 041 || Battlemaster ||  
| 041 || Battlemaster ||
|-class="alt"
|-class="alt"
| 042 || || the Seeker
| 042 || || the Seeker
Line 106: Line 106:
| 047 || || the Explorer
| 047 || || the Explorer
|-class="alt"
|-class="alt"
| 048 || || the Diplomat  
| 048 || || the Diplomat
|-
|-
| 049 || Brutal Gladiator ||
| 049 || Brutal Gladiator ||
Line 112: Line 112:
| 050 || Arena Master ||
| 050 || Arena Master ||
|-
|-
| 051 || Salty ||  
| 051 || Salty ||
|-class="alt"
|-class="alt"
| 052 || Chef ||
| 052 || Chef ||
Line 132: Line 132:
| 060 || || of the Ebon Blade
| 060 || || of the Ebon Blade
|-
|-
| 061 || Archmage ||  
| 061 || Archmage ||
|-class="alt"
|-class="alt"
| 062 || Warbringer ||
| 062 || Warbringer ||
Line 152: Line 152:
| 070 || Grand Master Angler ||
| 070 || Grand Master Angler ||
|-
|-
| 071 || Grand Master Herbalist ||  
| 071 || Grand Master Herbalist ||
|-class="alt"
|-class="alt"
| 072 || Grand Master Scribe ||
| 072 || Grand Master Scribe ||
Line 212: Line 212:
| 100 || || Guardian of Cenarius
| 100 || || Guardian of Cenarius
|-
|-
| 101 || Brewmaster ||  
| 101 || Brewmaster ||
|-class="alt"
|-class="alt"
| 102 || Merrymaker ||
| 102 || Merrymaker ||
Line 232: Line 232:
| 110 || || Jenkins
| 110 || || Jenkins
|-
|-
| 111 || Bloodsail Admiral ||  
| 111 || Bloodsail Admiral ||
|-class="alt"
|-class="alt"
| 112 || || the Insane
| 112 || || the Insane
Line 294: Line 294:
| 141 || || of the Ashen Verdict
| 141 || || of the Ashen Verdict
|-class="alt"
|-class="alt"
| 142 || Wrathful Gladiator ||  
| 142 || Wrathful Gladiator ||
|}
|}


Line 301: Line 301:
This simple script code will iterate through the title IDs and display them in the default chat window:
This simple script code will iterate through the title IDs and display them in the default chat window:


  for i = 1, 281() do
  for i = 1, [[API GetNumTitles|GetNumTitles]]() do
     print(i..":"..(Cataclysmic Gladiator(i) or "nil"))
     print(i..":"..([[API GetTitleName|GetTitleName]](i) or "nil"))
  end
  end
Anonymous user