C_DeathInfo
namespaceavailable in: camelotStatus in wowlua
5 functions: 1 implemented, 2 recorded, 2 guessed. 14 events, 7 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
GetCorpseMapPosition | Returns the location of the player's corpse on the map.(uiMapID: number): Vector2DMixin? | implemented |
GetDeathReleasePosition | When the player is dead and hasn't released spirit, returns the location of the graveyard they will release to.(uiMapID: number): Vector2DMixin? | guessed |
GetGraveyardsForMap | Returns graveyard info and location for a map.(uiMapID: number): GraveyardMapInfo[] | recorded |
GetSelfResurrectOptions | Returns self resurrect options for your character, including from soulstones.(): SelfResurrectOption[]? | recorded |
UseSelfResurrectOption | Uses a soulstone or similar means of self resurrection.(optionType: SelfResurrectOptionType, id: number) | guessed |
Events
| event | payload | fired by the emulator |
|---|---|---|
AREA_SPIRIT_HEALER_IN_RANGE | no payload | not implemented |
AREA_SPIRIT_HEALER_OUT_OF_RANGE | no payload | not implemented |
CEMETERY_PREFERENCE_UPDATED | no payload | not implemented |
CONFIRM_XP_LOSS | no payload | not implemented |
CORPSE_IN_INSTANCE | no payload | not implemented |
CORPSE_IN_RANGE | no payload | implemented |
CORPSE_OUT_OF_RANGE | no payload | implemented |
PLAYER_ALIVE | no payload | implemented |
PLAYER_DEAD | no payload | implemented |
PLAYER_SKINNED | hasFreeRepop: number | not implemented |
PLAYER_UNGHOST | no payload | implemented |
REQUEST_CEMETERY_LIST_RESPONSE | isGossipTriggered: boolean | implemented |
RESURRECT_REQUEST | inviter: string | implemented |
SELF_RES_SPELL_CHANGED | no payload | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("AREA_SPIRIT_HEALER_IN_RANGE").
Structures
GraveyardMapInfo· areaPoiID, position, name, textureIndex, graveyardID, isGraveyardSelectableSelfResurrectOption· name, optionType, id, canUse, isLimited, priority
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (DeathInfo system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗.