v0.13.8

C_ScenarioInfo

namespaceavailable in: camelot

Status in wowlua

10 functions: 0 implemented, 1 recorded, 9 guessed. 9 events, 1 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
GetCriteriaInfoReturns information about a criterion of the current scenario step. · by wowlua
(criteriaIndex: number): ScenarioCriteriaInfo?
guessed
GetCriteriaInfoByStepReturns information about a criterion of the given scenario step. · by wowlua
(stepID: number, criteriaIndex: number): ScenarioCriteriaInfo?
guessed
GetDisplayInfoReturns display information for the current scenario. · by wowlua
(): ScenarioDisplayInfo?
guessed
GetJailersTowerTypeStringReturns the display name of a Torghast run type. · by wowlua
(runType: JailersTowerType): string?
guessed
GetScenarioIconInfoReturns the scenario icons to show on the given map. · by wowlua
(uiMapID: number): ScenarioIconInfo[]?
guessed
GetScenarioInfoReturns information about the current scenario, or nil when the player is not in one. · by wowlua
(): ScenarioInformation?
guessed
GetScenarioStepInfoReturns information about a scenario step. · by wowlua
(scenarioStepID: number?): ScenarioStepInfo?
guessed
GetTieredEntranceActiveSpellsReturns list of active challenge spells if inside a tiered entrance scenario
(): number[]?
guessed
GetUnitCriteriaProgressValuesReturns the unit's progress values for scenario criteria. · by wowlua
(unit: string): (number?, number?, string?)
guessed
IsTieredEntranceScenarioWhether the current scenario is a tiered entrance scenario. · by wowlua
(): boolean
recorded

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
JAILERS_TOWER_LEVEL_UPDATElevel: number, type: JailersTowerTypenot implemented
SCENARIO_BONUS_OBJECTIVE_COMPLETEbonusObjectiveID: numbernot implemented
SCENARIO_BONUS_VISIBILITY_UPDATEno payloadnot implemented
SCENARIO_COMPLETEDquestID: number?, xp: number?, money: number?not implemented
SCENARIO_CRITERIA_SHOW_STATE_UPDATEshow: booleannot implemented
SCENARIO_CRITERIA_UPDATEcriteriaID: numbernot implemented
SCENARIO_POI_UPDATEno payloadnot implemented
SCENARIO_SPELL_UPDATEno payloadnot implemented
SCENARIO_UPDATEnewStep: boolean?implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("JAILERS_TOWER_LEVEL_UPDATE").

Structures

  • ScenarioCriteriaInfo · description, criteriaType, completed, quantity, totalQuantity, flags, assetID, criteriaID, duration, elapsed, failed, isWeightedProgress, isFormatted, quantityString
  • ScenarioDisplayInfo · themeColor?, startSoundKitID?
  • ScenarioIconInfo · x, y, atlas, description
  • ScenarioInformation · name, currentStage, numStages, flags, isComplete, xp, money, type, area, uiTextureKit, scenarioID
  • ScenarioStepInfo · title, description, numCriteria, stepFailed, isBonusStep, isForCurrentStepOnly, shouldShowBonusObjective, spells, weightedProgress?, rewardQuestID, widgetSetID?, stepID
  • ScenarioStepSpellInfo · spellID, name, icon

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ScenarioInfo system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.