C_InstanceEncounter
namespaceavailable in: camelotStatus in wowlua
4 functions: 1 implemented, 0 recorded, 3 guessed. 6 events, 1 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
IsEncounterInProgress | Whether a boss encounter is in progress. · by wowlua(): boolean | implemented |
IsEncounterLimitingResurrections | Whether the boss encounter in progress limits resurrections. · by wowlua(): boolean | guessed |
IsEncounterSuppressingRelease | Whether the boss encounter in progress keeps dead players from releasing their spirit. · by wowlua(): boolean | guessed |
ShouldShowTimelineForEncounter | Whether the encounter timeline is shown for the boss encounter in progress. · by wowlua(): boolean | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
ENCOUNTER_STATE_CHANGED | isInProgress: boolean | not implemented |
INSTANCE_ENCOUNTER_ADD_TIMER | timeRemaining: number | not implemented |
INSTANCE_ENCOUNTER_ENGAGE_UNIT | no payload | implemented |
INSTANCE_ENCOUNTER_OBJECTIVE_COMPLETE | objectiveID: number | not implemented |
INSTANCE_ENCOUNTER_OBJECTIVE_START | objectiveID: number, objectiveProgress: number | not implemented |
INSTANCE_ENCOUNTER_OBJECTIVE_UPDATE | objectiveID: number, objectiveProgress: number | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("ENCOUNTER_STATE_CHANGED").
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (InstanceEncounter system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.