C_DamageMeter
namespaceavailable in: camelotStatus in wowlua
8 functions: 7 implemented, 0 recorded, 1 guessed. 3 events, 3 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
GetAvailableCombatSessions | Returns a list of combat sessions currently being tracked.(): DamageMeterAvailableCombatSession[] | implemented |
GetCombatSessionFromID | Returns the data for the player's combat session with the specified ID.(sessionID: number, type: DamageMeterType): DamageMeterCombatSession | implemented |
GetCombatSessionFromType | Returns the data for the player's current combat session.(sessionType: DamageMeterSessionType, type: DamageMeterType): DamageMeterCombatSession | implemented |
GetCombatSessionSourceFromID | Returns 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 |
GetCombatSessionSourceFromType | Returns the data for a single source (unit) in the player's current combat session.(sessionType: DamageMeterSessionType, type: DamageMeterType, sourceGUID: string?, sourceCreatureID: number?): DamageMeterCombatSessionSource | implemented |
GetSessionDurationSeconds | Returns the amount of time a combat session has lasted(sessionType: DamageMeterSessionType): number? | implemented |
IsDamageMeterAvailable | Returns whether the player can enable and use the Damage Meter.(): (boolean, string) | guessed |
ResetAllCombatSessions | Clears the data for all the player's combat sessions.() | implemented |
Events
| event | payload | fired by the emulator |
|---|---|---|
DAMAGE_METER_COMBAT_SESSION_UPDATED | type: DamageMeterType, sessionID: number | implemented |
DAMAGE_METER_CURRENT_SESSION_UPDATED | no payload | implemented |
DAMAGE_METER_RESET | no payload | implemented |
Structures
DamageMeterAvailableCombatSession· sessionID, name, durationSeconds?DamageMeterCombatSession· combatSources, maxAmount, totalAmount, durationSeconds?DamageMeterCombatSessionSource· combatSpells, maxAmount, totalAmountDamageMeterCombatSource· sourceGUID?, sourceCreatureID?, name, classFilename, specIconID, totalAmount, amountPerSecond, isLocalPlayer, deathRecapID, deathTimeSeconds, classification, sourceDisplayType, factionGroup?DamageMeterCombatSpell· spellID, totalAmount, amountPerSecond, creatureName, overkillAmount, isAvoidable, isDeadly, combatSpellDetailsDamageMeterCombatSpellUnitDetails· 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 ↗.