class
FSmartObjectSystem
- Module
- AINavigation
- Header
#include "AINavigation/SmartObjectSystem.h"- Namespace
Mowo
Public functions
| Returns | Name | Description |
|---|---|---|
SystemPhase | GetPhase | |
void | Initialize | |
void | Update | |
void | Shutdown | |
void | FindSlots | Free (unclaimed, rested) slots whose activity matches, nearest first. |
FSmartObjectSlot | FindNearestSlot | |
bool | Claim | |
void | Release | |
void | ReleaseFor | |
FSmartObjectSlot | GetClaimFor | |
bool | IsFree | |
bool | GetSlotTransform | World-space position and yaw (radians) a user takes in the slot. |
float | GetUseDuration | |
FSmartObjectSystem* | GetActive | |
void | RegisterBehaviorTreeTasks |
Function details
GetPhase
C++
SystemPhase GetPhase() const overrideInitialize
C++
void Initialize(World* world) overrideUpdate
C++
void Update(float deltaTime) overrideShutdown
C++
void Shutdown() overrideFindSlots
C++
void FindSlots(const Vec3& from, float radius, const std::string& activity, std::vector<FSmartObjectSlot>& out) constFree (unclaimed, rested) slots whose activity matches, nearest first.
FindNearestSlot
C++
FSmartObjectSlot FindNearestSlot(const Vec3& from, float radius, const std::string& activity) constClaim
C++
bool Claim(const FSmartObjectSlot& slot, EntityID user)Release
C++
void Release(const FSmartObjectSlot& slot)ReleaseFor
C++
void ReleaseFor(EntityID user)GetClaimFor
C++
FSmartObjectSlot GetClaimFor(EntityID user) constIsFree
C++
bool IsFree(const FSmartObjectSlot& slot) constGetSlotTransform
C++
bool GetSlotTransform(const FSmartObjectSlot& slot, Vec3& outPosition, float& outYaw) constWorld-space position and yaw (radians) a user takes in the slot.
GetUseDuration
C++
float GetUseDuration(const FSmartObjectSlot& slot) constGetActive
C++
static FSmartObjectSystem* GetActive()RegisterBehaviorTreeTasks
C++
static void RegisterBehaviorTreeTasks()Generated from AINavigation/SmartObjectSystem.h via ainavigation.json · Oct 27, 2026Version 1.0.0