Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns info for an Archaeology race.
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:
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[]
Patch 8.0.1 (2018-07-17): Added Zandalari and Drust to branchID list
Patch 7.3.0 (2017-08-29): Second return value changed from a string texture path to a fileID.
Patch 5.4.0 (2013-09-10): Added.