GetAchievementCriteriaInfo
functionrecordedavailable in: camelot
Returns info for the specified achievement criteria.
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 | Achievement ID the queried criteria belongs to. |
criteriaIndex | number | Index of the criteria to query, ascending from 1 up to GetAchievementNumCriteria(achievementID). |
countHidden | boolean? |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | criteriaString | string | The name of the criteria. |
| 2 | criteriaType | number | Criteria type; specifies the meaning of the assetID. |
| 3 | completed | boolean | True if you've completed this criteria; false otherwise. |
| 4 | quantity | number | Quantity requirement imposed by some criteriaType. |
| 5 | reqQuantity | number | The required quantity for the criteria. Used mostly in achievements with progress bars. Usually 0. |
| 6 | charName | string | The name of the character that completed this achievement. |
| 7 | flags | number | Some flags. See CriteriaTree#Flags. |
| 8 | assetID | number | Criteria data whose meaning depends on the type. |
| 9 | quantityString | string | The string used to display the current quantity. Usually the string form of the quantity return. |
| 10 | criteriaID | number | Unique criteria ID. |
| 11 | eligible | boolean | True if the criteria is eligible to be completed; false otherwise. Used to determine whether to show the criteria line in the objectives tracker in red or not. |
| 12 | duration | number | |
| 13 | elapsed | number |
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 ↗.