structure used to define which subsystem requested locking of a specific AI resource (like movement, logic, etc.) 更多...
#include <AITypes.h>
Public 类型 | |
| typedef uint16 | FLockFlags |
Public 成员函数 | |
| void | ForceClearAllLocks () |
| force-clears all locks | |
| FORCEINLINE bool | IsAvailableFor (EAIRequestPriority::Type LockPriority) const |
| Answers the question if given priority is allowed to use this resource. 更多... | |
| void | SetUseResourceLockCount (bool inUseResourceLockCount) |
| set whether we should use resource lock count. 更多... | |
structure used to define which subsystem requested locking of a specific AI resource (like movement, logic, etc.)
| typedef uint16 FAIResourceLock::FLockFlags |
|
inline |
Answers the question if given priority is allowed to use this resource.
@Note that if resource is locked with priority LockPriority this function will return false as well
| void FAIResourceLock::SetUseResourceLockCount | ( | bool | inUseResourceLockCount | ) |
set whether we should use resource lock count.
clears all existing locks.