RSS

Пятница, 29.03.2024, 04:28
Главная » WoW API » API Функции » Профессия Археология »

GetArchaeologyRaceInfo

[ править ]
Get name, icon, index, and fragment for a race.
[клоны]
Get name, icon, index, and fragment for a race. See GetNumArcheologyRaces() for the raceIndex numbers.

Signature:
Code
raceName, raceTexture, raceItemID, numFragmentsCollected, numFragmentsRequired = GetArchaeologyRaceInfo(raceIndex)

Arguments:
  • raceIndex - nil (number, GetNumArchaeologyRaces())

Returns:
  • raceName - Name of the race (string)
  • raceTexture - Path to the texture (icon) used by this race in the Archaeology UI (string)
  • raceItemID - The itemID for the Keystone this race uses (number)
  • numFragmentsCollected - Number of collected fragments for this race (number)
  • numFragmentsRequired - Number of fragments required to solve the current artifact (number)

Также смотрите: Профессия Археология , Archaeology profession functions
Ссылки: http://wowprogramming.com/docs/api/GetArchaeologyRaceInfo