Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/BrainComponent.h |
Include |
#include "BrainComponent.h" |
class UBrainComponent :
public UActorComponent,
public IAIResourceInterface
Name | Description | ||
---|---|---|---|
|
AAIController &... |
AIOwner |
|
|
BlackboardComp |
Blackboard component |
|
|
MessageObservers |
Active message observers |
|
|
MessagesToProcess |
This is a temp contraption to implement delayed messages delivering until proper AI messaging is implemented |
|
|
ResourceLock |
Used to keep track of which subsystem requested this AI resource be locked |
Name | Description | |
---|---|---|
|
UBrainComponent ( |
Name | Description | ||
---|---|---|---|
|
CacheBlackboardComponent ( |
END UActorComponent overrides caches BlackboardComponent's pointer to be used with this brain component |
|
|
Cleanup() |
AI logic won't be needed anymore, stop all activity and run cleanup |
|
|
DescribeSelfToVisLog ( |
||
|
AAIControlle... |
GetAIOwner() |
|
|
UBlackboardC... |
GetBlackboardComponent() |
|
|
const UBlack... |
GetBlackboardComponent() |
|
|
GetDebugInfoString() |
||
|
HandleMessage ( |
||
|
IsPaused() |
||
|
IsRunning() |
||
|
PauseLogic ( |
Pause logic and blackboard updates. |
|
|
RequestLogicRestartOnUnlock() |
To be called in case we want to restart AI logic while it's still being locked. |
|
|
RestartLogic() |
Restarts currently running or previously ran brain logic. |
|
|
EAILogicResu... |
ResumeLogic ( |
Resumes paused brain logic. MUST be called by child implementations! |
|
StartLogic() |
Starts brain logic. If brain is already running, will not do anything. |
|
|
StopLogic ( |
Stops currently running brain logic. |
Name | Description | ||
---|---|---|---|
|
InitializeComponent() |
BEGIN UActorComponent overrides |
|
|
OnRegister() |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. |
|
|
TickComponent ( |
Function called every frame on this ActorComponent. |
Name | Description | ||
---|---|---|---|
|
ClearResourceLock ( |
Clear resource lock of the given origin |
|
|
ForceUnlockResource() |
Force-clears all locks on resource |
|
|
IsResourceLocked() |
Check whether resource is currently locked |
|
|
LockResource ( |
If resource is lockable lock it with indicated priority |
Name |
Description |
---|---|
AIMessage_MoveFinished |
Static names to be used with SendMessage. |
AIMessage_QueryFinished |
|
AIMessage_RepathFailed |