RSS

Суббота, 21.12.2024, 19:52
Главная » WoW API » API Функции » Достижения »

GetAchievementReward

[ править ]
Returns the number of achievement points awarded for earning an achievement.
[клоны]
Returns the number of achievement points awarded for earning an achievement. Currently all achievements and statistics offer one reward (according to this function), though the rewards offered by statistics are all zero points.

Signature:
Code
points = GetAchievementReward(id, index)

Arguments:
  • id - The numeric ID of an achievement or statistic (number)
  • index - Index of one of the achievement's rewards (between 1 and GetAchievementNumRewards(); currently always 1) (number)

Returns:
  • points - Number of achievement points awarded for completing the achievement (number)

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