![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MassObserverNotificationTypes.h>
Classes | |
| struct | FEmptyComposition |
Public Types | |
| using | FCompositionDescription = TVariant< FEmptyComposition, FMassArchetypeCompositionDescriptor, FMassFragmentBitSet, FMassTagBitSet > |
| using | FEntitiesContainer = TVariant< FEntityCollection, FMassEntityHandle > |
Static Public Member Functions | |
| static bool | AreCompositionsEqual (const FCompositionDescription &A, const FCompositionDescription &B) |
Public Attributes | |
| EMassObservedOperation | Type |
| FCompositionDescription | CompositionChange |
| FEntitiesContainer | AffectedEntities |
The type represents a single "operation", as observed by the registered observers, an operation that has been performed while the FObserverLock was active. Instances of FBufferedNotification contain all the information needed to send out the necessary notification once the observers lock gets released.
Note that the type contains information necessary to sent our notification. In case of "Remove" notifications the operations has already been performed, and the data being removed is no longer available to the observers, and instances of FBufferedNotification do not host this information either.
| using UE::Mass::ObserverManager::FBufferedNotification::FCompositionDescription = TVariant<FEmptyComposition, FMassArchetypeCompositionDescriptor, FMassFragmentBitSet, FMassTagBitSet> |
| using UE::Mass::ObserverManager::FBufferedNotification::FEntitiesContainer = TVariant<FEntityCollection, FMassEntityHandle> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
| FEntitiesContainer UE::Mass::ObserverManager::FBufferedNotification::AffectedEntities |
| FCompositionDescription UE::Mass::ObserverManager::FBufferedNotification::CompositionChange |
| EMassObservedOperation UE::Mass::ObserverManager::FBufferedNotification::Type |