WoW API: GetAchievementCriteriaInfo

From AddOn Studio
Revision as of 05:44, 10 August 2008 by WoWWiki>Syzgyn (preloading Boilerplate)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetAchievementCriteriaInfo

Returns information about the given Achievement's specified criteria.

criteriaString, criteriaType, completed, quantity, reqQuantity, charName, flags, assetID, quantityString = GetAchievementCriteriaInfo(achievementID, criteriaNum);


Arguments

(Integer achievementID, Integer criteriaNum)
achievementID
Integer - The ID of the Achievement
criteriaNum
Integer - The number for the specific criteria. Between 1 and GetAchivementNumCriteria(achievementID)


Returns

criteriaString, criteriaType, completed, quantity, reqQuantity, charName, flags, assetID, quantityString
criteriaString
String - The name of the criteria
criteriaType
Integer - The type of criteria. Values currently unknown.
completed
Boolean - If the criteria is completed or not.
quantity
Integer - The current quantity for the criteria. Usually 0 or 1.
reqQuantity
Integer - The required quantity for the criteria. Used mostly in achievements with progress bars. Usually 0.
charName
String - The name of the Player.
flags
Integer - Some flags. Currently unknown purpose.
assetID
Integer - Currently unknown. Possibly a bitwise number.
quantityString
String - The string used to display the current quantity. Usually the string form of the quantity return.