class

BehaviorTreeNativeTasks

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

Type aliases

AliasDescription
using Factory = std::function<BT::NodePtr(const FBTNode&)>

Public functions

ReturnsNameDescription
voidRegisterEngine-lifetime registration — the factory must outlive the process.
voidRegisterForModuleRegistration owned by a loadable module (FModuleManager::GetModuleHandle).
voidUnregister
voidUnregisterAllInModule
voidClearAll
boolIsRegistered
BT::NodePtrCreate

Function details

Register

C++
static void Register(FName id, Factory factory)

Engine-lifetime registration — the factory must outlive the process.

RegisterForModule

C++
static void RegisterForModule(void* moduleHandle, FName id, Factory factory)

Registration owned by a loadable module (FModuleManager::GetModuleHandle). FHotReload drops these before the module unloads, so a reloaded game module never leaves behind a std::function whose code page is gone.

Unregister

C++
static void Unregister(FName id)

UnregisterAllInModule

C++
static void UnregisterAllInModule(void* moduleHandle)

ClearAll

C++
static void ClearAll()

IsRegistered

C++
static bool IsRegistered(FName id)

Create

C++
static BT::NodePtr Create(FName id, const FBTNode& node)
Generated from AINavigation/BehaviorTreeFactory.h via ainavigation.json · Oct 27, 2026Version 1.0.0