World of Warcraft Forever API · C_Ping.md, for your AI
C_Ping
6 functions, 1 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_Ping.GetCooldownInfo
cooldownInfo = C_Ping.GetCooldownInfo()
Returns
cooldownInfo | PingCooldownInfo |
|---|
C_Ping.GetDefaultPingOptions
pingTypes = C_Ping.GetDefaultPingOptions()
Returns
pingTypes | PingTypeInfo[] |
|---|
C_Ping.GetTextureKitForType
uiTextureKitID = C_Ping.GetTextureKitForType(type)
Arguments
type | PingSubjectType |
|---|
Returns
uiTextureKitID | textureKit |
|---|
C_Ping.IsPingSystemEnabled
isEnabled = C_Ping.IsPingSystemEnabled()
Returns
isEnabled | bool |
|---|
C_Ping.SendMacroPing
C_Ping.SendMacroPing(macroInfo)
Arguments
macroInfo | PingMacroInfo |
|---|
C_Ping.TogglePingListener
C_Ping.TogglePingListener(down)
Arguments
down | bool |
|---|
Events
PING_SYSTEM_ERROR
error | cstring |
|---|
Tables
PingTypeInfo structure
orderIndex | number | |
|---|---|---|
type | PingSubjectType | |
uiTextureKitID | textureKit |