![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AITypes.h>
Public Member Functions | |
| FAINamedID (const FName &InName) | |
| FAINamedID (const FAINamedID &Other) | |
| FAINamedID & | operator= (const FAINamedID &Other) |
| FAINamedID () | |
| operator typename TCounter::Type () const | |
| bool | IsValid () const |
Static Public Member Functions | |
| static uint32 | GetSize () |
| static FAINamedID< TCounter > | InvalidID () |
Public Attributes | |
| const TCounter::Type | Index |
| const FName | Name |
Protected Member Functions | |
| FAINamedID (const FName &InName, typename TCounter::Type InIndex) | |
Static Protected Member Functions | |
| static TCounter & | GetCounter () |
Friends | |
| uint32 | GetTypeHash (const FAINamedID &ID) |
TCounter needs to supply following functions: default constructor typedef X Type; where X is an integer type to be used as ID's internal type TCounter::Type GetNextAvailableID() - returns next available ID and advances the internal counter uint32 GetSize() const - returns number of unique IDs created so far OnIndexForced(TCounter::Type Index) - called when given Index has been force-used. Counter may need to update "next available ID"
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inlinestaticprotected |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
friend |
| const TCounter::Type FAINamedID< TCounter >::Index |
| const FName FAINamedID< TCounter >::Name |