Navigation
API > API/Runtime > API/Runtime/AIModule
Compact Index based handle that has a serial number to verify stale handles. For fast safe access in to index based data structures.
| Name | FCompactIndexedHandleBase |
| Type | struct |
| Header File | /Engine/Source/Runtime/AIModule/Public/IndexedHandle.h |
| Include Path | #include "IndexedHandle.h" |
Syntax
USTRUCT ()
struct FCompactIndexedHandleBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| IndexedHandle.h | |||
FCompactIndexedHandleBase
(
const int32 InIndex, |
Passing INDEX_NONE as index will make this handle Invalid | IndexedHandle.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ManagerID | uint32 | IndexedHandle.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int16 GetIndex() |
IndexedHandle.h | ||
uint16 GetSerialNumber() |
IndexedHandle.h | ||
void Invalidate() |
Makes the handle Invalid | IndexedHandle.h | |
bool IsValid() |
IndexedHandle.h | ||
void SetIndex
(
int16 InIndex |
IndexedHandle.h | ||
void SetSerialNumber
(
int16 InSerialNumber |
IndexedHandle.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
Boolean operator useful when embedding declaration in if statement | IndexedHandle.h | |
bool operator!=
(
const FCompactIndexedHandleBase& Other |
IndexedHandle.h | ||
bool operator==
(
const FCompactIndexedHandleBase& Other |
IndexedHandle.h |