RSS

Пятница, 15.11.2024, 01:19
Главная » WoW API » API Функции » Достижения »

GetCategoryNumAchievements

[ править ]
Returns the number of achievements/statistics to display in a category.
[клоны]
Returns the number of achievements/statistics to display in a category. Note this function does not return the total number of achievements in a category; it only returns the number to be displayed in the default UI. Achievements may belong to a category but not be counted for display: e.g. among those which are part of a series (100 Quests Completed, 500 Quests Completed), only the achievement most recently completed and the achievement following it in the series are shown.

Signature:
Code
numItems, numCompleted = GetCategoryNumAchievements(id)

Arguments:
  • id - The numeric ID of an achievement/statistic category (number)

Returns:
  • numItems - Number of achievements or statistics to display in the category (number)
  • numCompleted - Number of completed achievements in the category (or 0 for statistics) (number)

Также смотрите: Достижения , Achievement functions
Ссылки: http://wowprogramming.com/docs/api/GetCategoryNumAchievements