v0.13.8

C_EncounterWarnings

namespaceavailable in: camelot

Status in wowlua

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

Functions

functionwhat it doesstatus
GetColorForSeverityReturns the color that encounter warnings of the given severity are shown in. · by wowlua
(severity: EncounterEventSeverity): ColorMixin
guessed
GetEditModeWarningInfoReturns the sample encounter warning that Edit Mode shows for the given severity. · by wowlua
(severity: EncounterEventSeverity): EncounterWarningInfo
guessed
GetPlayCustomSoundsWhenHiddenReturns true if custom sound alerts are allowed to play for hidden warning messages.
(): boolean
guessed
GetSoundKitForSeverityReturns the sound kit ID played for encounter warnings of the given severity. · by wowlua
(severity: EncounterEventSeverity): number
guessed
GetWarningsShownReturns true if text messages for encounter events are allowed to be shown.
(): boolean
guessed
IsFeatureAvailableWhether encounter warnings are available. · by wowlua
(): boolean
guessed
IsFeatureEnabledWhether encounter warnings are turned on. · by wowlua
(): boolean
guessed
PlaySoundPlays the encounter warning sound for the given severity and returns its sound handle. · by wowlua
(severity: EncounterEventSeverity): number?
guessed
SetPlayCustomSoundsWhenHiddenControls whether custom sound alerts for encounter events are allowed to play for warning messages that are hidden.
(play: boolean)
guessed
SetWarningsShownControls whether text messages for encounter events are allowed to be shown.
(shown: boolean)
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
ENCOUNTER_WARNINGencounterWarningInfo: EncounterWarningInfonot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("ENCOUNTER_WARNING").

Structures

  • EncounterWarningInfo · text, casterGUID, casterName, targetGUID, targetName, iconFileID, tooltipSpellID, isDeadly, color, duration, severity, shouldPlaySound, shouldShowChatMessage, shouldShowWarning

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (EncounterWarnings system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.