GetAchievementInfo
functionrecordedavailable in: camelot
Returns info for an achievement.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
achievementID | number | ID of the achievement to retrieve information for. |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | id | number | Achievement ID. |
| 2 | name | string | The Name of the Achievement. |
| 3 | points | number | Points awarded for completing this achievement. |
| 4 | completed | boolean | Returns true/false depending if you've completed this achievement on any character. |
| 5 | month | number? | Month this was completed. Returns nil if Completed is false. |
| 6 | day | number? | Day this was completed. Returns nil if Completed is false. |
| 7 | year | number? | Year this was completed. Returns nil if Completed is false. Returns number of years since 2000. |
| 8 | description | string | The Description of the Achievement. |
| 9 | flags | number | A bitfield that indicates achievement properties: |
| 10 | icon | number | The fileID of the icon used for this achievement |
| 11 | rewardText | string | Text describing the reward you get for completing this achievement. |
| 12 | isGuild | boolean | Returns true/false depending if this is a guild achievement. |
| 13 | wasEarnedByMe | boolean | Returns true/false depending if you've completed this achievement on this character. |
| 14 | earnedBy | string | Your character name if you've completed this achievement, or the name of the first character to complete this achievement. |
| 15 | isStatistic | boolean | Returns true/false depending if this is a statistic. |
In wowlua's emulated client
recordedThe answer was recorded from the real client and is played back for the same call. what the statuses mean
sources
Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.