class
FAISignals
Core gameplay → AI notifications, as a lock-free game-thread multicast (same shape and rules as FInteractionDelegates): footsteps and gunshots report noise, weapons raise named situations — without core systems naming the perception/situation systems that live in the AINavigation plugin. Handlers are process-lifetime and captureless; resolve the target system through the world at call time.
- Module
- Game
- Header
#include "Gameplay/AISignals.h"- Namespace
Mowo
Type aliases
| Alias | Description |
|---|---|
using FNoiseHandler = void (*)(World& world, const Vec3& position, float loudness, EntityID instigator) | |
using FSituationHandler = void (*)(World& world, const char* situation, const Vec3& position, float radius, float severity, EntityID instigator) | situation is a stable name ("Gunshot") the AI side maps to its own typed severity model. |
using FDamageHandler = void (*)(World& world, EntityID victim, EntityID instigator, const Vec3& position, float amount) | A hit landed on victim: the perception damage sense turns it into an immediate stimulus toward instigator at position (where the hit came from, or the instigator's location). |
using FStimulusHandler = void (*)(World& world, const FAIStimulusEvent& stimulus) | The general form every sense rides: the AI side files it on its stimulus bus. ReportNoise and ReportDamage are the two common cases spelled out. |
Public functions
| Returns | Name | Description |
|---|---|---|
void | AddNoiseHandler | |
void | ReportNoise | |
void | AddSituationHandler | |
void | RaiseSituation | |
void | AddDamageHandler | |
void | ReportDamage | |
void | AddStimulusHandler | |
void | EmitStimulus |
Function details
AddNoiseHandler
C++
static void AddNoiseHandler(FNoiseHandler handler)ReportNoise
C++
static void ReportNoise(World& world, const Vec3& position, float loudness, EntityID instigator)AddSituationHandler
C++
static void AddSituationHandler(FSituationHandler handler)RaiseSituation
C++
static void RaiseSituation(World& world, const char* situation, const Vec3& position, float radius, float severity, EntityID instigator)AddDamageHandler
C++
static void AddDamageHandler(FDamageHandler handler)ReportDamage
C++
static void ReportDamage(World& world, EntityID victim, EntityID instigator, const Vec3& position, float amount)AddStimulusHandler
C++
static void AddStimulusHandler(FStimulusHandler handler)EmitStimulus
C++
static void EmitStimulus(World& world, const FAIStimulusEvent& stimulus)Generated from Gameplay/AISignals.h via game.json · Nov 5, 2026Version 1.0.0