API GetArchaeologyRaceInfo

Returns the information for a specific race used in Archaeology. raceName, raceTexture, raceItemID, numFragmentsCollected, numFragmentsRequired, maxFragments = GetArchaeologyRaceInfo(raceIndex)

Arguments

 * raceIndex : Number - Index of the race to query, between 1 and.

Returns

 * raceName : String - Name of the race.
 * raceTexture: Number (fileID) - The texture used by this race in the Archaeology UI.
 * raceItemID : Number - Item ID of the Keystone used for the race's archaeology projects. Will be nil for Fossil as 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

Example
The snippet below prints the name of every Archaeology race. for i=1, GetNumArchaeologyRaces do print((GetArchaeologyRaceInfo(i))) end

Details

 * Returns "UNKNOWN", nil, 0, 0, 0, 0 if the  is out of bounds.
 * The following textures are used: