GetAchievementComparisonInfo
functionguessedavailable in: camelot
Returns information about the comparison unit's achievements.
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 | completed | boolean | Returns true/false depending on whether the unit has completed the achievement or not. |
| 2 | month | number? | Month in which the unit has completed the achievement. Returns nil if completed is false. |
| 3 | day | number? | Day of the month in which the unit has completed the achievement. Returns nil if completed is false. |
| 4 | year | number? | Year (two digits, 21st century is assumed) in which the unit has completed the achievement. Returns nil if completed is false. |
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
sources
Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.