v0.13.8

C_DeathInfo

namespaceavailable in: camelot

Status in wowlua

5 functions: 1 implemented, 2 recorded, 2 guessed. 14 events, 7 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
GetCorpseMapPositionReturns the location of the player's corpse on the map.
(uiMapID: number): Vector2DMixin?
implemented
GetDeathReleasePositionWhen the player is dead and hasn't released spirit, returns the location of the graveyard they will release to.
(uiMapID: number): Vector2DMixin?
guessed
GetGraveyardsForMapReturns graveyard info and location for a map.
(uiMapID: number): GraveyardMapInfo[]
recorded
GetSelfResurrectOptionsReturns self resurrect options for your character, including from soulstones.
(): SelfResurrectOption[]?
recorded
UseSelfResurrectOptionUses a soulstone or similar means of self resurrection.
(optionType: SelfResurrectOptionType, id: number)
guessed

Events

eventpayloadfired by the emulator
AREA_SPIRIT_HEALER_IN_RANGEno payloadnot implemented
AREA_SPIRIT_HEALER_OUT_OF_RANGEno payloadnot implemented
CEMETERY_PREFERENCE_UPDATEDno payloadnot implemented
CONFIRM_XP_LOSSno payloadnot implemented
CORPSE_IN_INSTANCEno payloadnot implemented
CORPSE_IN_RANGEno payloadimplemented
CORPSE_OUT_OF_RANGEno payloadimplemented
PLAYER_ALIVEno payloadimplemented
PLAYER_DEADno payloadimplemented
PLAYER_SKINNEDhasFreeRepop: numbernot implemented
PLAYER_UNGHOSTno payloadimplemented
REQUEST_CEMETERY_LIST_RESPONSEisGossipTriggered: booleanimplemented
RESURRECT_REQUESTinviter: stringimplemented
SELF_RES_SPELL_CHANGEDno payloadnot 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, isGraveyardSelectable
  • SelfResurrectOption · 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 ↗.