WowAddons

World of Warcraft Forever API · C_InstanceEncounter.md, for your AI

C_InstanceEncounter

4 functions, 6 events, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

C_InstanceEncounter.IsEncounterInProgress

isInProgress = C_InstanceEncounter.IsEncounterInProgress()

Returns

isInProgressbool

C_InstanceEncounter.IsEncounterLimitingResurrections

isLimitingResurrections = C_InstanceEncounter.IsEncounterLimitingResurrections()

Returns

isLimitingResurrectionsbool

C_InstanceEncounter.IsEncounterSuppressingRelease

isSuppressingRelease = C_InstanceEncounter.IsEncounterSuppressingRelease()

Returns

isSuppressingReleasebool

C_InstanceEncounter.ShouldShowTimelineForEncounter

shouldShow = C_InstanceEncounter.ShouldShowTimelineForEncounter()

Returns

shouldShowbool

Events

ENCOUNTER_STATE_CHANGED

Signaled when the in-progress state of an encounter changes.

isInProgressbool

INSTANCE_ENCOUNTER_ADD_TIMER

timeRemainingnumber

INSTANCE_ENCOUNTER_ENGAGE_UNIT

No payload.

INSTANCE_ENCOUNTER_OBJECTIVE_COMPLETE

objectiveIDnumber

INSTANCE_ENCOUNTER_OBJECTIVE_START

objectiveIDnumber
objectiveProgressnumber

INSTANCE_ENCOUNTER_OBJECTIVE_UPDATE

objectiveIDnumber
objectiveProgressnumber

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows