World of Warcraft Forever API · C_PingSecure.md, for your AI
C_PingSecure
19 functions, 2 events, 11 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_PingSecure.ClearHitTestPingInfo()
C_PingSecure.CreateFrame()
C_PingSecure.DisplayError(error)
Arguments
frame = C_PingSecure.GetTargetPingReceiver(mousePosX, mousePosY)
Arguments
mousePosX | number | |
|---|
mousePosY | number | |
|---|
Returns
result = C_PingSecure.SendHitTestPing([type])
Arguments
Returns
result = C_PingSecure.SendPlayerItemPing(itemID)
Arguments
Returns
result = C_PingSecure.SendPlayerSpellCategoryPing(spellCategoryID)
Arguments
Returns
result = C_PingSecure.SendPlayerSpellPing(spellID)
Arguments
Returns
result = C_PingSecure.SendUnitPing(target, [type], [isPlayerResource])
Arguments
target | WOWGUID | |
|---|
type | PingSubjectType may be nil | |
|---|
isPlayerResource | bool may be nil | Player unit frame contextual pings have the optional ability to call out the player's health and in some cases mana. This field does nothing for non player pings. |
|---|
Returns
state = C_PingSecure.SetHitTestPingTarget(mousePosX, mousePosY, [forcePointPing])
Arguments
mousePosX | number | |
|---|
mousePosY | number | |
|---|
forcePointPing | bool may be nil | |
|---|
Returns
result = C_PingSecure.SetHitTestTargetAndSendPing()
Returns
C_PingSecure.SetPendingPingOffScreenCallback(cb)
Arguments
C_PingSecure.SetPingCooldownStartedCallback(cb)
Arguments
C_PingSecure.SetPingPinFrameAddedCallback(cb)
Arguments
C_PingSecure.SetPingPinFrameRemovedCallback(cb)
Arguments
C_PingSecure.SetPingPinFrameScreenClampStateUpdatedCallback(cb)
Arguments
C_PingSecure.SetPingRadialWheelCreatedCallback(cb)
Arguments
C_PingSecure.SetSendMacroPingCallback(cb)
Arguments
C_PingSecure.SetTogglePingListenerCallback(cb)
Arguments
Events
guid | WOWGUID | |
|---|
uiTextureKit | textureKit | |
|---|
Tables
durationMs | number default 0 | |
|---|
remainingMs | number default 0 | |
|---|
spellID | number default 0 | |
|---|
itemID | number default 0 | |
|---|
textureFileDataID | number default 0 | |
|---|
cooldownInfo | PingActionCooldownUIInfo may be nil | |
|---|
spellCategoryID | number default 0 | |
|---|
region | ScriptRegion | |
|---|
uiTextureKit | textureKit | |
|---|
isWorldPoint | bool | |
|---|
actionInfo | PingActionUIInfo may be nil | |
|---|
region | ScriptRegion | |
|---|
state | bool | |
|---|