UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IAIModule Class Reference

#include <AIModule.h>

+ Inheritance diagram for IAIModule:

Static Public Member Functions

static IAIModuleGet ()
 
static bool IsAvailable ()
 

Additional Inherited Members

- Public Member Functions inherited from IAISystemModule
virtual UAISystemBaseCreateAISystemInstance (UWorld *World)=0
 
- Public Member Functions inherited from IModuleInterface
virtual ~IModuleInterface ()
 
virtual void StartupModule ()
 
virtual void PreUnloadCallback ()
 
virtual void PostLoadCallback ()
 
virtual void ShutdownModule ()
 
virtual bool SupportsDynamicReloading ()
 
virtual bool SupportsAutomaticShutdown ()
 
virtual bool IsGameModule () const
 

Detailed Description

The public interface to this module

Member Function Documentation

◆ Get()

static IAIModule & IAIModule::Get ( )
inlinestatic

Singleton-like access to this module's interface. This is just for convenience! Beware of calling this during the shutdown phase, though. Your module might have been unloaded already.

Returns
Returns singleton instance, loading the module on demand if needed

◆ IsAvailable()

static bool IAIModule::IsAvailable ( )
inlinestatic

Checks to see if this module is loaded and ready. It is only valid to call Get() if IsAvailable() returns true.

Returns
True if the module is loaded and ready to use

The documentation for this class was generated from the following file: