class

FAIDirectorSystem

Module
AINavigation
Header
#include "AINavigation/AIDirectorSystem.h"
Namespace
Mowo

Constructors

SignatureNameDescription
FAIDirectorSystem() = defaultFAIDirectorSystem
~FAIDirectorSystem() override~FAIDirectorSystem
FAIDirectorSystem(const FAIDirectorSystem&) = deleteFAIDirectorSystem

Public functions

ReturnsNameDescription
FAIDirectorSystem&operator=
SystemPhaseGetPhase
voidInitialize
voidUpdate
voidShutdown
voidSetScene
voidSetProfile
Ref<DirectorProfileAsset>GetProfile
voidSetEnabled
boolIsEnabled
voidSetPaused
boolIsPaused
EDirectorPhaseGetDirectorPhase
voidForcePhase
floatGetTimeInPhase
floatGetTeamIntensity
floatGetPlayerIntensity
int32_tGetPlayerCount
voidRegisterPlayer
voidUnregisterPlayer
boolIsPlayerRegistered
voidReportDamageTaken
voidReportDamageDealt
voidReportPlayerDeath
voidReportStress
voidSetSpawner
IDirectorSpawner*GetSpawner
int32_tGetActivePopulation
int32_tGetTargetPopulation
const std::vector<EntityID>&ActiveThreats
uint32_tGetSpawnRequestCount
uint32_tGetInvestigationCountThe noise map's verdict: how often threats were sent to the loudest place near the players, the last such place, and how many spawns were anchored on noise rather than on a player.
boolHasNoiseHotspot
Vec3GetNoiseHotspot
uint32_tGetNoiseAnchoredSpawnCount
uint32_tGetDespawnRequestCount
voidSetHealthFractionProvider
voidSetAmmoFractionProvider
voidSetAmmoFractionFallbackWhat every director falls back to when no per-instance provider is set.
std::stringFormatDebugLine
voidDebugDrawDirector
FAIDirectorSystem*GetActive
const char*PhaseToString
boolPhaseFromString

Function details

FAIDirectorSystem

C++
FAIDirectorSystem() = default

~FAIDirectorSystem

C++
~FAIDirectorSystem() override

FAIDirectorSystem

C++
FAIDirectorSystem(const FAIDirectorSystem&) = delete

operator=

C++
FAIDirectorSystem& operator=(const FAIDirectorSystem&) = delete

GetPhase

C++
SystemPhase GetPhase() const override

Initialize

C++
void Initialize(World* world) override

Update

C++
void Update(float deltaTime) override

Shutdown

C++
void Shutdown() override

SetScene

C++
void SetScene(Scene* scene)

SetProfile

C++
void SetProfile(Ref<DirectorProfileAsset> profile)

GetProfile

C++
Ref<DirectorProfileAsset> GetProfile() const

SetEnabled

C++
void SetEnabled(bool enabled)

IsEnabled

C++
bool IsEnabled() const

SetPaused

C++
void SetPaused(bool paused)

IsPaused

C++
bool IsPaused() const

GetDirectorPhase

C++
EDirectorPhase GetDirectorPhase() const

ForcePhase

C++
void ForcePhase(EDirectorPhase phase)

GetTimeInPhase

C++
float GetTimeInPhase() const

GetTeamIntensity

C++
float GetTeamIntensity() const

GetPlayerIntensity

C++
float GetPlayerIntensity(EntityID player) const

GetPlayerCount

C++
int32_t GetPlayerCount() const

RegisterPlayer

C++
void RegisterPlayer(EntityID player)

UnregisterPlayer

C++
void UnregisterPlayer(EntityID player)

IsPlayerRegistered

C++
bool IsPlayerRegistered(EntityID player) const

ReportDamageTaken

C++
void ReportDamageTaken(EntityID player, float amount)

ReportDamageDealt

C++
void ReportDamageDealt(EntityID player, float amount)

ReportPlayerDeath

C++
void ReportPlayerDeath(EntityID player)

ReportStress

C++
void ReportStress(EntityID player, float amount)

SetSpawner

C++
void SetSpawner(std::shared_ptr<IDirectorSpawner> spawner)

GetSpawner

C++
IDirectorSpawner* GetSpawner() const

GetActivePopulation

C++
int32_t GetActivePopulation() const

GetTargetPopulation

C++
int32_t GetTargetPopulation() const

ActiveThreats

C++
const std::vector<EntityID>& ActiveThreats() const

GetSpawnRequestCount

C++
uint32_t GetSpawnRequestCount() const

GetInvestigationCount

C++
uint32_t GetInvestigationCount() const

The noise map's verdict: how often threats were sent to the loudest place near the players, the last such place, and how many spawns were anchored on noise rather than on a player.

HasNoiseHotspot

C++
bool HasNoiseHotspot() const

GetNoiseHotspot

C++
Vec3 GetNoiseHotspot() const

GetNoiseAnchoredSpawnCount

C++
uint32_t GetNoiseAnchoredSpawnCount() const

GetDespawnRequestCount

C++
uint32_t GetDespawnRequestCount() const

SetHealthFractionProvider

C++
void SetHealthFractionProvider(std::function<float(EntityID)> provider)

SetAmmoFractionProvider

C++
void SetAmmoFractionProvider(std::function<float(EntityID)> provider)

SetAmmoFractionFallback

C++
static void SetAmmoFractionFallback(float (*fallback)(World&, EntityID))

What every director falls back to when no per-instance provider is set. The director has no weapon model of its own — a combat kit installs this, and without one the ammo fraction reads as unknown (-1).

FormatDebugLine

C++
std::string FormatDebugLine() const

DebugDrawDirector

C++
static void DebugDrawDirector(World* world)

GetActive

C++
static FAIDirectorSystem* GetActive()

PhaseToString

C++
static const char* PhaseToString(EDirectorPhase phase)

PhaseFromString

C++
static bool PhaseFromString(const std::string& text, EDirectorPhase& outPhase)
Generated from AINavigation/AIDirectorSystem.h via ainavigation.json · Oct 27, 2026Version 1.0.0