WowAddons

World of Warcraft Forever API · C_PlayerInteractionManager.md, for your AI

C_PlayerInteractionManager

8 functions, 2 events, 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_PlayerInteractionManager.ClearInteraction

C_PlayerInteractionManager.ClearInteraction([type])

Arguments

typePlayerInteractionType may be nil

C_PlayerInteractionManager.ConfirmationInteraction

C_PlayerInteractionManager.ConfirmationInteraction([type])

Arguments

typePlayerInteractionType may be nil

C_PlayerInteractionManager.InteractUnit

success = C_PlayerInteractionManager.InteractUnit(unit, [exactMatch], [looseTargeting])

Arguments

unitstring
exactMatchbool default false
looseTargetingbool default true

Returns

successbool

C_PlayerInteractionManager.IsInteractingWithNpcOfType

interacting = C_PlayerInteractionManager.IsInteractingWithNpcOfType(type)

Arguments

typePlayerInteractionType

Returns

interactingbool

C_PlayerInteractionManager.IsReplacingUnit

replacing = C_PlayerInteractionManager.IsReplacingUnit()

Returns

replacingbool

C_PlayerInteractionManager.IsValidNPCInteraction

isValidInteraction = C_PlayerInteractionManager.IsValidNPCInteraction(type)

Arguments

typePlayerInteractionType

Returns

isValidInteractionbool

C_PlayerInteractionManager.ReopenInteraction

C_PlayerInteractionManager.ReopenInteraction()

C_PlayerInteractionManager.ShardTransferConfirm

C_PlayerInteractionManager.ShardTransferConfirm()

Events

PLAYER_INTERACTION_MANAGER_FRAME_HIDE

typePlayerInteractionType

PLAYER_INTERACTION_MANAGER_FRAME_SHOW

typePlayerInteractionType

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows