C_Scenario.GetCriteriaInfo

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png C_ScenarioInfo.GetCriteriaInfo TheWarWithin-Icon-Inline.png + 11.0.2
BTNTemp.png C_Scenario.GetCriteriaInfo Dragonflight-Icon-Inline.png + 5.0.4, - 11.0.2
BTNTemp.png C_Scenario.GetCriteriaInfoByStep Dragonflight-Icon-Inline.png + 6.0.2, - 11.0.2

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 (2014-10-14): Added C_Scenario.GetCriteriaInfoByStep()
Mists of Pandaria Patch 5.0.4 (2012-08-28): Added C_Scenario.GetCriteriaInfo()