Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/AITypes.h |
Include |
#include "AITypes.h" |
struct FAIResourceLock
Structure used to define which subsystem requested locking of a specific AI resource (like movement, logic, etc.)
Name | Description | |
---|---|---|
|
FAIResourceLock() |
Name | Description | ||
---|---|---|---|
|
ClearLock ( |
||
|
ForceClearAllLocks() |
Force-clears all locks |
|
|
GetLockPriorityName() |
||
|
IsAvailableFor ( |
Answers the question if given priority is allowed to use this resource. |
|
|
IsLocked() |
||
|
IsLockedBy ( |
||
|
SetLock ( |
||
|
SetUseResourceLockCount ( |
Set whether we should use resource lock count. clears all existing locks. |
Name | Description | ||
---|---|---|---|
|
operator+= ( |
||
|
operator== ( |
Name |
Description |
---|---|
FLockFlags |
@note feel free to change the type if you need to support more then 16 lock sources |