Wowpedia
Advertisement
Wowpedia
240,465
pages
Shadowlands-Icon-Inline.png C_Scenario.GetCriteriaInfo
+ 5.0.4   Townlong-Yak Globe.png
Shadowlands-Icon-Inline.png C_Scenario.GetCriteriaInfoByStep
+ 6.0.2   Townlong-Yak Globe.png

Needs summary.

criteriaString, criteriaType, completed, quantity, totalQuantity, flags, assetID, quantityString, criteriaID, duration, elapsed, criteriaFailed, isWeightedProgress
   = C_Scenario.GetCriteriaInfo(criteriaIndex)
   = C_Scenario.GetCriteriaInfoByStep(stepID, criteriaIndex)

Arguments

GetCriteriaInfo

criteriaIndex 
number - up to numCriteria, the 3rd return value of C_Scenario.GetStepInfo()

GetCriteriaInfoByStep

stepID 
number
criteriaIndex 
number

Returns

1. criteriaString 
string
2. criteriaType 
number
3. completed 
boolean
4. quantity 
number
5. totalQuantity 
number
6. flags 
number
7. assetID 
number
8. quantityString 
string
9. criteriaID 
number - see Criteria.db2 / CriteriaTree.db2
10. duration 
number
11. elapsed 
number
12. criteriaFailed 
boolean
13. isWeightedProgress 
boolean

Patch changes

  • Warlords of Draenor Patch 6.0.2 / API (2014-10-14): Added C_Scenario.GetCriteriaInfoByStep()
  • Mists of Pandaria Patch 5.0.4 / API (2012-08-28): Added C_Scenario.GetCriteriaInfo()
Advertisement