Apparatus
Version 1.23
ECS data-oriented workflow for Unreal Engine.
|
The internal information about a trait. More...
#include <TraitInfo.h>
Public Types | |
enum | { InvalidId = -1 , FirstId = 0 } |
Public Member Functions | |
FTraitInfo () | |
Construct a stale trait information struct. | |
FTraitInfo (const UScriptStruct *const InType, const int32 InId) | |
Construct a new trait information struct. | |
Public Attributes | |
const UScriptStruct * | Type = nullptr |
The type of the trait type. | |
int32 | Id = InvalidId |
The unique identifier of the trait. | |
FBitMask | Mask |
The bitmask of the trait. | |
Friends | |
struct | FSubjectHandle |
class | UChunk |
class | UMachine |
class | ISubjective |
The internal information about a trait.
|
inline |
Construct a stale trait information struct.
|
inline |
Construct a new trait information struct.
|
friend |
|
friend |
|
friend |
|
friend |
int32 FTraitInfo::Id = InvalidId |
The unique identifier of the trait.
Matches its index within the global machine's array.
FBitMask FTraitInfo::Mask |
The bitmask of the trait.
const UScriptStruct* FTraitInfo::Type = nullptr |
The type of the trait type.
This is a strong pointer that should grab and hold the type, so that non-property trait references in traitmarks are guaranteed to be present.