# C_InstanceEncounter: World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/C_InstanceEncounter

## Functions

### C_InstanceEncounter.IsEncounterInProgress

```lua
isInProgress = C_InstanceEncounter.IsEncounterInProgress()
```

Returns:
- `isInProgress`: bool

### C_InstanceEncounter.IsEncounterLimitingResurrections

```lua
isLimitingResurrections = C_InstanceEncounter.IsEncounterLimitingResurrections()
```

Returns:
- `isLimitingResurrections`: bool

### C_InstanceEncounter.IsEncounterSuppressingRelease

```lua
isSuppressingRelease = C_InstanceEncounter.IsEncounterSuppressingRelease()
```

Returns:
- `isSuppressingRelease`: bool

### C_InstanceEncounter.ShouldShowTimelineForEncounter

```lua
shouldShow = C_InstanceEncounter.ShouldShowTimelineForEncounter()
```

Returns:
- `shouldShow`: bool

## Events

### ENCOUNTER_STATE_CHANGED

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

Payload, after the event's name:
- `isInProgress`: bool

### INSTANCE_ENCOUNTER_ADD_TIMER

Payload, after the event's name:
- `timeRemaining`: number

### INSTANCE_ENCOUNTER_ENGAGE_UNIT

No payload.

### INSTANCE_ENCOUNTER_OBJECTIVE_COMPLETE

Payload, after the event's name:
- `objectiveID`: number

### INSTANCE_ENCOUNTER_OBJECTIVE_START

Payload, after the event's name:
- `objectiveID`: number
- `objectiveProgress`: number

### INSTANCE_ENCOUNTER_OBJECTIVE_UPDATE

Payload, after the event's name:
- `objectiveID`: number
- `objectiveProgress`: number

---
Make an addon with your 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."
