World of Warcraft Forever API · C_EventToastManager.md, for your AI
C_EventToastManager
3 functions, 2 events, 1 tables, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
C_EventToastManager.GetLevelUpDisplayToastsFromLevel
toastInfo = C_EventToastManager.GetLevelUpDisplayToastsFromLevel(level)
May return nothing.
Arguments
level | number |
|---|
Returns
toastInfo | EventToastInfo[] |
|---|
C_EventToastManager.GetNextToastToDisplay
toastInfo = C_EventToastManager.GetNextToastToDisplay()
May return nothing.
Returns
toastInfo | EventToastInfo |
|---|
C_EventToastManager.RemoveCurrentToast
C_EventToastManager.RemoveCurrentToast()
Events
DISPLAY_EVENT_TOAST_LINK
link | string |
|---|
DISPLAY_EVENT_TOASTS
No payload.
Tables
EventToastInfo structure
eventToastID | number | |
|---|---|---|
title | string | |
subtitle | string | |
instructionText | string | |
iconFileID | fileID | |
subIcon | textureAtlas may be nil | |
link | string | |
qualityString | string may be nil | |
quality | number may be nil | |
eventType | EventToastEventType | |
displayType | EventToastDisplayType | |
uiTextureKit | textureKit | |
sortOrder | number | |
time | number may be nil | |
uiWidgetSetID | number may be nil | |
extraUiWidgetSetID | number may be nil | |
titleTooltip | string may be nil | |
subtitleTooltip | string may be nil | |
titleTooltipUiWidgetSetID | number may be nil | |
subtitleTooltipUiWidgetSetID | number may be nil | |
showSoundKitID | number may be nil | |
hideSoundKitID | number may be nil | |
colorTint | colorRGB may be nil | |
flags | number |