World of Warcraft Forever API · C_DeathRecap.md, for your AI
C_DeathRecap
4 functions, 1 tables, 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_DeathRecap.GetRecapEvents
events = C_DeathRecap.GetRecapEvents([recapID])
Arguments
recapID | number may be nil |
|---|
Returns
events | DeathRecapEventInfo[] |
|---|
C_DeathRecap.GetRecapLink
link = C_DeathRecap.GetRecapLink([recapID])
Arguments
recapID | number may be nil |
|---|
Returns
link | string |
|---|
C_DeathRecap.GetRecapMaxHealth
maxHealth = C_DeathRecap.GetRecapMaxHealth([recapID])
Returns the max health for the unit that died in the provided death recap.
Arguments
recapID | number may be nil |
|---|
Returns
maxHealth | number |
|---|
C_DeathRecap.HasRecapEvents
hasEvents = C_DeathRecap.HasRecapEvents([recapID])
Arguments
recapID | number may be nil |
|---|
Returns
hasEvents | bool |
|---|