# C_EndOfMatchUI: 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_EndOfMatchUI

## Functions

### C_EndOfMatchUI.GetEndOfMatchDetails

```lua
matchDetails = C_EndOfMatchUI.GetEndOfMatchDetails()
```

Returns:
- `matchDetails`: MatchDetails, may be nil

## Events

### SHOW_END_OF_MATCH_UI

No payload.

## Tables

### Enum.EndOfMatchType (enumeration)

- `None` = 0
- `Plunderstorm` = 1

### Enum.MatchDetailType (enumeration)

- `Placement` = 0
- `Kills` = 1
- `PlunderAcquired` = 2

### MatchDetail (structure)

- `type`: MatchDetailType
- `value`: number

### MatchDetails (structure)

- `matchType`: EndOfMatchType
- `matchEnded`: bool
- `detailsList`: MatchDetail[]

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