WoW:TitleId: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(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

Revision as of 22:13, 16 May 2014

Warning: Display title "WoW API type: TitleId" overrides earlier display title "titleID".API types

titleIDs are used for retrieving and setting the player's displayed title, e.g. "Champion of the Naaru" or "Private"

They are indices from 1 to GetNumTitles().

TitleId Index with Names (GetTitleName)

TitleId (as of Patch 3.3.3a)
TitleId Prefix Suffix
001 Private
002 Corporal
003 Sergeant
004 Master Sergeant
005 Sergeant Major
006 Knight
007 Knight-Lieutenant
008 Knight-Captain
009 Knight-Champion
010 Lieutenant Commander
011 Commander
012 Marshal
013 Field Marshal
014 Grand Marshal
015 Scout
016 Grunt
017 Sergeant
018 Senior Sergeant
019 First Sergeant
020 Stone Guard
021 Blood Guard
022 Legionnaire
023 Centurion
024 Champion
025 Lieutenant General
026 General
027 Warlord
028 High Warlord
029 Gladiator
030 Duelist
031 Rival
032 Challenger
033 Scarab Lord
034 Conqueror
035 Justicar
036 Champion of the Naaru
037 Merciless Gladiator
038 of the Shattered Sun
039 Hand of A'dal
040 Vengeful Gladiator
041 Battlemaster
042 the Seeker
043 Elder
044 Flame Warden
045 Flame Keeper
046 the Exalted
047 the Explorer
048 the Diplomat
049 Brutal Gladiator
050 Arena Master
051 Salty
052 Chef
053 the Supreme
054 of the Ten Storms
055 of the Emerald Dream
056 Deadly Gladiator
057 Prophet
058 the Malefic
059 Stalker
060 of the Ebon Blade
061 Archmage
062 Warbringer
063 Assassin
064 Grand Master Alchemist
065 Grand Master Blacksmith
066 Iron Chef
067 Grand Master Enchanter
068 Grand Master Engineer
069 Doctor
070 Grand Master Angler
071 Grand Master Herbalist
072 Grand Master Scribe
073 Grand Master Jewelcrafter
074 Grand Master Leatherworker
075 Grand Master Miner
076 Grand Master Skinner
077 Grand Master Tailor
078 of Quel'Thalas
079 of Argus
080 of Khaz Modan
081 of Gnomergan
082 the Lion Hearted
083 Champion of Elune
084 Hero of Orgrimmar
085 Plainsrunner
086 of the Darkspear
087 the Forsaken
088 the Magic Seeker
089 Twilight Vanquisher
090 Conqueror of Naxxramas
091 Hero of Northrend
092 the Hallowed
093 Loremaster
094 of the Alliance
095 of the Horde
096 the Flawless Victor
097 Champion of the Frozen Wastes
098 Ambassador
099 the Argent Champion
100 Guardian of Cenarius
101 Brewmaster
102 Merrymaker
103 the Love Fool
104 Matron
105 Patron
106 Obsidian Slayer
107 of the Nightfall
108 the Immortal
109 the Undying
110 Jenkins
111 Bloodsail Admiral
112 the Insane
113 of the Exodar
114 of Darnassus
115 of Ironforge
116 of Stormwind
117 of Orgrimmar
118 of Sen'jin
119 of Silvermoon
120 of Thunder Bluff
121 of the Undercity
122 the Noble
123 Crusader
124 Death's Demise
125 the Celestial Defender
126 Conqueror of Ulduar
127 Champion of Ulduar
128 Vanquisher
129 Starcaller
130 the Astral Walker
131 Herald of the Titans
132 Furious Gladiator
133 the Pilgrim
134 Relentless Gladiator
135 Grand Crusader
136 the Argent Defender
137 the Patient
138 the Light of Dawn
139 Bane of the Fallen King
140 the Kingslayer
141 of the Ashen Verdict
142 Wrathful Gladiator

Printing titleIDs for debug

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

for i = 1, GetNumTitles() do
    print(i..":"..(GetTitleName(i) or "nil"))
end