Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetArchaeologyRaceInfoByID

From Wowpedia
Jump to: navigation, search

Returns information about a branch of Archaeology.

raceName, raceTextureID, raceItemID, numFragmentsCollected, numFragmentsRequired, maxFragments  = GetArchaeologyRaceInfoByID(branchID)

Argument

branchID 
Number - ID of the research branch (race) to query. The following are the valid IDs:
ID Race
1 Dwarf
2 Draenei
3 Fossil
4 Night Elf
5 Nerubian
6 Orc
7 Tol'vir
8 Troll
27 Vrykul
29 Mantid
229 Pandaren
231 Mogu
315 Arakkoa
350 Draenor Clans
382 Ogre
404 Highborne
406 Highmountain Tauren
408 Demonic
423 Zandalari
424 Drust

Returns

raceName
String - Name of the race.
raceTextureID
Number (fileID) - The texture used by this race in the Archaeology UI.
raceItemID
Number - The itemID of the Keystone the race uses. Will be nil for Fossil because no such item exists.
numFragmentsCollected
Number - Number of collected fragments for this race.
numFragmentsRequired
Number - Number of fragments required to solve the current artifact
maxFragments
Number - Maximum number of fragments that can be carried
  • The following textures are used:
Race Texture File IDs
Texture Race
461831 Dwarf
461829 Draenei
461833 Fossil
461837 Night Elf
461835 Nerubian
462321 Orc
461839 Tol'vir
461841 Troll
461843 Vrykul
839111 Mantid
633002 Pandaren
633000 Mogu
1030616 Arakkoa
1030617 Draenor Clans
1030618 Ogre
1445575 Highborne
1445577 Highmountain Tauren
1445573 Demonic
2060051 Zandalari
2060049 Drust

Patch changes

  • Battle for Azeroth Patch 8.0.1 (2018-07-17): Added Zandalari and Drust to branchID list
  • Legion Patch 7.3.0 (2017-08-29): Second return value changed from a string texture path to a fileID.
  • Mists of Pandaria Patch 5.4.0 (2013-09-10): Added.

See also