RSS

Суббота, 21.12.2024, 17:42
Главная » WoW API » API Функции » Профессия Археология »

GetNumArtifactsByRace

[ править ]
Return the amount of artifacts the player has acquired from the provided race.
[клоны]
Return the amount of artifacts the player has acquired from the provided race. Opening the Archaeology window populates the values. The value returned is the number of completed artifacts for that race plus one for the in progress artifact. If the player hasn't collected the race's fragments yet, the value will be 0. Artifacts are only counted once so no matter how many times an artifact has been repeated it counts as one.

Signature:
Code
numProjects = GetNumArtifactsByRace(branchID)

Arguments:
  • branchID - Index of the branch (race) to be selected (number)

Returns:
  • numProjects - Number of projects (artifacts) for that race (number)

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