engine
 
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | 所有成员列表
FAIResourceLock结构体 参考

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.)

成员类型定义说明

◆ FLockFlags

注解
feel free to change the type if you need to support more then 16 lock sources

成员函数说明

◆ IsAvailableFor()

FORCEINLINE bool FAIResourceLock::IsAvailableFor ( EAIRequestPriority::Type  LockPriority) const
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

◆ SetUseResourceLockCount()

void FAIResourceLock::SetUseResourceLockCount ( bool  inUseResourceLockCount)

set whether we should use resource lock count.

clears all existing locks.


该结构体的文档由以下文件生成: