RSS

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

GetAchievementComparisonInfo

[ править ]
Returns information about the comparison unit's achievements.
[клоны]
Returns information about the comparison unit's achievements. Only accurate once the INSPECT_ACHIEVEMENT_READY event has fired following a call to SetAchievementComparisonUnit(). No longer accurate once ClearAchievementComparisonUnit() is called.

Signature:
Code
completed, month, day, year = GetAchievementComparisonInfo(id)


Arguments:

  • id - The numeric ID of an achievement (number)


Returns:

  • completed - True if the comparison unit has completed the achievement; otherwise nil (boolean)
  • month - Month in which the comparison unit completed the achievement (number)
  • day - Day of the month on which the comparison unit completed the achievement (number)
  • year - Year in which the comparison unit completed the achievement. (Two digit year, assumed to be 21st century.) (number)

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