WowAddons

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

C_DeathInfo

5 functions, 14 events, 3 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_DeathInfo.GetCorpseMapPosition

position = C_DeathInfo.GetCorpseMapPosition(uiMapID)

Arguments

uiMapIDnumber

Returns

positionvector2 may be nil

C_DeathInfo.GetDeathReleasePosition

position = C_DeathInfo.GetDeathReleasePosition(uiMapID)

Arguments

uiMapIDnumber

Returns

positionvector2 may be nil

C_DeathInfo.GetGraveyardsForMap

graveyards = C_DeathInfo.GetGraveyardsForMap(uiMapID)

Arguments

uiMapIDnumber

Returns

graveyardsGraveyardMapInfo[]

C_DeathInfo.GetSelfResurrectOptions

options = C_DeathInfo.GetSelfResurrectOptions()

May return nothing.

Returns

optionsSelfResurrectOption[]

C_DeathInfo.UseSelfResurrectOption

C_DeathInfo.UseSelfResurrectOption(optionType, id)

Arguments

optionTypeSelfResurrectOptionType
idnumber

Events

AREA_SPIRIT_HEALER_IN_RANGE

No payload.

AREA_SPIRIT_HEALER_OUT_OF_RANGE

No payload.

CEMETERY_PREFERENCE_UPDATED

No payload.

CONFIRM_XP_LOSS

No payload.

CORPSE_IN_INSTANCE

No payload.

CORPSE_IN_RANGE

No payload.

CORPSE_OUT_OF_RANGE

No payload.

PLAYER_ALIVE

No payload.

PLAYER_DEAD

No payload.

PLAYER_SKINNED

hasFreeRepopnumber

PLAYER_UNGHOST

No payload.

REQUEST_CEMETERY_LIST_RESPONSE

isGossipTriggeredbool

RESURRECT_REQUEST

invitercstring

SELF_RES_SPELL_CHANGED

No payload.

Tables

Enum.SelfResurrectOptionType enumeration

Spell0
Item1

GraveyardMapInfo structure

areaPoiIDnumber
positionvector2
namecstring
textureIndexnumber
graveyardIDnumber
isGraveyardSelectablebool

SelfResurrectOption structure

namestring
optionTypeSelfResurrectOptionType
idnumber
canUsebool
isLimitedbool
prioritynumber

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