![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MassBitSetRegistry.h>
Classes | |
| struct | FBitSetFactory |
| struct | FBitSetStructTracker |
Public Types | |
| using | FBitSetBuilder = TTypeBitSetBuilder< T, TUStructType, TTypeBitSetTraits< T >::RequiresBaseType > |
| using | FBitSet = typename FBitSetBuilder::FConstBitSet |
Public Member Functions | |
| TBitTypeRegistry () | |
| FBitSetBuilder | MakeBuilder (FBitSet &BitSet) const |
| FBitSetFactory | MakeBuilder () const |
| int32 | RegisterType (const UScriptStruct *Type) |
| template<typename TType > | |
| int32 | RegisterType () |
Public Attributes | |
| FBitSetStructTracker | StructTracker |
Template class for registering and managing bitsets for Mass types (e.g., Fragments and Tags). Provides functionality to create builders for constructing bitsets. The type hosts a FStructTracker instance that stores information on all the types used to build bitsets via it, and only those types - as opposed to TStructTypeBitSet, which is using the same FStructTracker throughout the engine's instance lifetime.
| T | the base Mass type (e.g., FMassFragment or FMassTag). |
| TUStructType | the Unreal Engine struct type, default is UScriptStruct. |
| using UE::Mass::Private::TBitTypeRegistry< T, TUStructType >::FBitSet = typename FBitSetBuilder::FConstBitSet |
The type representing the runtime-used bitset. Const by design.
| using UE::Mass::Private::TBitTypeRegistry< T, TUStructType >::FBitSetBuilder = TTypeBitSetBuilder<T, TUStructType, TTypeBitSetTraits<T>::RequiresBaseType> |
Alias for the bitset builder specific to the type T
|
inline |
Constructor that initializes the struct tracker. Uses a lambda to retrieve the UStruct representing the base type T.
Explicit template instantiation declarations for the registries
|
inline |
Creates a factory for building new bitsets, essentially a FBitSetBuilder-BitSet combo.
|
inline |
Creates a bitset builder for an existing bitset.
| BitSet | the bitset instance to modify |
|
inline |
Template method to register a type with the struct tracker.
| TType | the type to register. |
|
inline |
Registers a type with the struct tracker.
| Type | the UScriptStruct representing the type to register. |
|
mutable |
Struct tracker for managing types