m
Move page script moved page API GetAchievementCriteriaInfo to WoW:API GetAchievementCriteriaInfo without leaving a redirect
No edit summary |
m (Move page script moved page API GetAchievementCriteriaInfo to WoW:API GetAchievementCriteriaInfo without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Returns information about the given Achievement's specified criteria. | Returns information about the given Achievement's specified criteria. | ||
criteriaString, criteriaType, completed, quantity, reqQuantity, | |||
criteriaString, criteriaType, completed, quantity, reqQuantity, charName, flags, assetID, quantityString, | charName, flags, assetID, quantityString, criteriaID = | ||
GetAchievementCriteriaInfo(criteriaID or achievementID, criteriaNum); | |||
== Arguments == | == Arguments == | ||
(achievementID, criteriaNum) | |||
:( | :;achievementID : Number - The ID of the Achievement | ||
:;criteriaNum : Number - The number for the specific criteria. Between 1 and [[API_GetAchievementNumCriteria|GetAchievementNumCriteria]](achievementID) | |||
:; | (criteriaID) | ||
:;criteriaID : Number - The ID of the criteria. | |||
'''''Warning:''' If you use criteriaID as an argument, do not include a number as the second argument or the client will crash. | |||
== Returns == | == Returns == | ||
<!-- List each return value, together with its type --> | <!-- List each return value, together with its type --> | ||
:criteriaString, criteriaType, completed, quantity, reqQuantity, charName, flags, assetID, quantityString, | :criteriaString, criteriaType, completed, quantity, reqQuantity, charName, flags, assetID, quantityString, criteriaID <!-- remove this line if it's just one value --> | ||
:;criteriaString : String - The name of the criteria | :;criteriaString : String - The name of the criteria | ||
| Line 28: | Line 28: | ||
:;assetID : Integer - Critera data whose meaning depends on the type. | :;assetID : Integer - Critera data whose meaning depends on the type. | ||
:;quantityString : String - The string used to display the current quantity. Usually the string form of the quantity return. | :;quantityString : String - The string used to display the current quantity. Usually the string form of the quantity return. | ||
:; | :;criteriaID : Integer - Unique criteria identifier. | ||
== Notes == | == Notes == | ||