class

FInteractionDelegates

Broadcast synchronously when a pawn interacts with an actor — AFTER the interactable's own reaction, BEFORE the Visual Script OnInteract pins (the order the old direct QuestSystem call had). Consumers (quest objectives, analytics) resolve their system through the world at call time instead of the InteractionSystem naming them, so they can live in plugins.

Module
Game
Header
#include "Gameplay/InteractionEvents.h"
Namespace
Mowo

Deliberately NOT the EventBus: DispatchImmediate runs handlers under the bus mutex, and an interact handler can cascade into Visual Script graphs that post events — a self-deadlock. This is a plain game-thread multicast with captureless handlers (registration order = call order; never register per-world state). A handler lives as long as the module whose code it is: unloading that module removes it.

Type aliases

AliasDescription
using FInteractHandler = void (*)(World& world, AActor& target)

Public functions

ReturnsNameDescription
voidAddInteractHandler
voidRemoveInteractHandler
voidBroadcastInteract
size_tRemoveAllInModuleDrops every handler whose code lies in the unloading module.
size_tHandlerCount

Function details

AddInteractHandler

C++
static void AddInteractHandler(FInteractHandler handler)

RemoveInteractHandler

C++
static void RemoveInteractHandler(FInteractHandler handler)

BroadcastInteract

C++
static void BroadcastInteract(World& world, AActor& target)

RemoveAllInModule

C++
static size_t RemoveAllInModule(void* moduleHandle)

Drops every handler whose code lies in the unloading module.

HandlerCount

C++
static size_t HandlerCount()
Generated from Gameplay/InteractionEvents.h via game.json · Nov 5, 2026Version 1.0.0