v0.13.8

C_DamageMeter

namespaceavailable in: camelot

Status in wowlua

8 functions: 7 implemented, 0 recorded, 1 guessed. 3 events, 3 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
GetAvailableCombatSessionsReturns a list of combat sessions currently being tracked.
(): DamageMeterAvailableCombatSession[]
implemented
GetCombatSessionFromIDReturns the data for the player's combat session with the specified ID.
(sessionID: number, type: DamageMeterType): DamageMeterCombatSession
implemented
GetCombatSessionFromTypeReturns the data for the player's current combat session.
(sessionType: DamageMeterSessionType, type: DamageMeterType): DamageMeterCombatSession
implemented
GetCombatSessionSourceFromIDReturns the data for a single source (unit) in the player's current combat session with the specified ID.
(sessionID: number, type: DamageMeterType, sourceGUID: string?, sourceCreatureID: number?): DamageMeterCombatSessionSource
implemented
GetCombatSessionSourceFromTypeReturns the data for a single source (unit) in the player's current combat session.
(sessionType: DamageMeterSessionType, type: DamageMeterType, sourceGUID: string?, sourceCreatureID: number?): DamageMeterCombatSessionSource
implemented
GetSessionDurationSecondsReturns the amount of time a combat session has lasted
(sessionType: DamageMeterSessionType): number?
implemented
IsDamageMeterAvailableReturns whether the player can enable and use the Damage Meter.
(): (boolean, string)
guessed
ResetAllCombatSessionsClears the data for all the player's combat sessions.
()
implemented

Events

eventpayloadfired by the emulator
DAMAGE_METER_COMBAT_SESSION_UPDATEDtype: DamageMeterType, sessionID: numberimplemented
DAMAGE_METER_CURRENT_SESSION_UPDATEDno payloadimplemented
DAMAGE_METER_RESETno payloadimplemented

Structures

  • DamageMeterAvailableCombatSession · sessionID, name, durationSeconds?
  • DamageMeterCombatSession · combatSources, maxAmount, totalAmount, durationSeconds?
  • DamageMeterCombatSessionSource · combatSpells, maxAmount, totalAmount
  • DamageMeterCombatSource · sourceGUID?, sourceCreatureID?, name, classFilename, specIconID, totalAmount, amountPerSecond, isLocalPlayer, deathRecapID, deathTimeSeconds, classification, sourceDisplayType, factionGroup?
  • DamageMeterCombatSpell · spellID, totalAmount, amountPerSecond, creatureName, overkillAmount, isAvoidable, isDeadly, combatSpellDetails
  • DamageMeterCombatSpellUnitDetails · unitName, unitClassFilename, classification, isPet, isMob, amount, specIconID

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (DamageMeter system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗.