# C_QuestSession: 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_QuestSession

## Functions

### C_QuestSession.CanStart

```lua
allowed = C_QuestSession.CanStart()
```

Returns:
- `allowed`: bool

### C_QuestSession.CanStop

```lua
allowed = C_QuestSession.CanStop()
```

Returns:
- `allowed`: bool

### C_QuestSession.Exists

```lua
exists = C_QuestSession.Exists()
```

Returns:
- `exists`: bool

### C_QuestSession.GetAvailableSessionCommand

```lua
command = C_QuestSession.GetAvailableSessionCommand()
```

Returns:
- `command`: QuestSessionCommand

### C_QuestSession.GetPendingCommand

```lua
command = C_QuestSession.GetPendingCommand()
```

Returns:
- `command`: QuestSessionCommand

### C_QuestSession.GetProposedMaxLevelForSession

```lua
proposedMaxLevel = C_QuestSession.GetProposedMaxLevelForSession()
```

Returns:
- `proposedMaxLevel`: number

### C_QuestSession.GetSessionBeginDetails

```lua
details = C_QuestSession.GetSessionBeginDetails()
```

Returns:
- `details`: QuestSessionPlayerDetails, may be nil

### C_QuestSession.GetSuperTrackedQuest

```lua
questID = C_QuestSession.GetSuperTrackedQuest()
```

Returns:
- `questID`: number, may be nil

### C_QuestSession.HasJoined

```lua
hasJoined = C_QuestSession.HasJoined()
```

Returns:
- `hasJoined`: bool

### C_QuestSession.HasPendingCommand

```lua
hasPendingCommand = C_QuestSession.HasPendingCommand()
```

Returns:
- `hasPendingCommand`: bool

### C_QuestSession.RequestSessionStart

```lua
C_QuestSession.RequestSessionStart()
```

### C_QuestSession.RequestSessionStop

```lua
C_QuestSession.RequestSessionStop()
```

### C_QuestSession.SendSessionBeginResponse

```lua
C_QuestSession.SendSessionBeginResponse(beginSession)
```

Arguments:
- `beginSession`: bool

### C_QuestSession.SetQuestIsSuperTracked

```lua
C_QuestSession.SetQuestIsSuperTracked(questID, superTrack)
```

Arguments:
- `questID`: number
- `superTrack`: bool

## Events

### QUEST_SESSION_CREATED

No payload.

### QUEST_SESSION_DESTROYED

No payload.

### QUEST_SESSION_ENABLED_STATE_CHANGED

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

### QUEST_SESSION_JOINED

No payload.

### QUEST_SESSION_LEFT

No payload.

### QUEST_SESSION_MEMBER_CONFIRM

No payload.

### QUEST_SESSION_MEMBER_START_RESPONSE

Payload, after the event's name:
- `guid`: WOWGUID
- `response`: bool

### QUEST_SESSION_NOTIFICATION

Payload, after the event's name:
- `result`: QuestSessionResult
- `guid`: WOWGUID

## Tables

### QuestSessionPlayerDetails (structure)

- `name`: string
- `guid`: WOWGUID

---
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."
