Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UAISystemBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/AI/AISystemBase.h |
| Include Path | #include "AI/AISystemBase.h" |
Syntax
UCLASS (Abstract, Config=Engine, defaultconfig, MinimalAPI)
class UAISystemBase : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAISystemBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAISystemBase
(
const FObjectInitializer& ObjectInitializer |
AI/AISystemBase.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UAISystemBase() |
AI/AISystemBase.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AISystemClassName | FSoftClassPath | List of specific AI system class to create, can be game-specific | AI/AISystemBase.h |
|
| AISystemModuleName | FName | Name of a module used to spawn the AI system. | AI/AISystemBase.h |
|
| bInstantiateAISystemOnClient | bool | Whether the AI system class should be spawned when connecting as a client | AI/AISystemBase.h |
|
| OnMatchStateSetHandle | FDelegateHandle | AI/AISystemBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CleanupWorld
(
bool bSessionEnded, |
Called by UWorld::CleanupWorld. Should be called by overriding functions. | AI/AISystemBase.h | |
virtual void CleanupWorld
(
bool bSessionEnded, |
AI/AISystemBase.h | ||
virtual void InitializeActorsForPlay
(
bool bTimeGotReset |
Called when world initializes all actors and prepares them to start gameplay | AI/AISystemBase.h | |
virtual void OnMatchStateSet
(
FName NewMatchState |
Handles FGameModeEvents::OnGameModeMatchStateSetEvent().Broadcast(MatchState); | AI/AISystemBase.h | |
virtual void StartPlay () |
Called by UWorld::BeginPlay to indicate the gameplay has started. | AI/AISystemBase.h | |
virtual void WorldOriginLocationChanged
(
FIntVector OldOriginLocation, |
Event called on world origin location changes | AI/AISystemBase.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FSoftClassPath GetAISystemClassName() |
AI/AISystemBase.h | ||
static FName GetAISystemModuleName() |
AI/AISystemBase.h | ||
static bool ShouldInstantiateInNetMode
(
ENetMode NetMode |
AI/AISystemBase.h |