Navigation
API > API/Runtime > API/Runtime/MassEntity
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.
| Name | FBufferedNotification |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassObserverNotificationTypes.h |
| Include Path | #include "MassObserverNotificationTypes.h" |
Syntax
struct FBufferedNotification
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBufferedNotification
(
const EMassObservedOperation InType, |
MassObserverNotificationTypes.h | ||
FBufferedNotification
(
const EMassObservedOperation InType, |
MassObserverNotificationTypes.h | ||
FBufferedNotification
(
const EMassObservedOperation InType, |
MassObserverNotificationTypes.h | ||
FBufferedNotification
(
const EMassObservedOperation InType, |
MassObserverNotificationTypes.h |
Structs
| Name | Remarks |
|---|---|
| FEmptyComposition |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FCompositionDescription | TVariant< FEmptyComposition, FMassArchetypeCompositionDescriptor, FMassFragmentBitSet, FMassTagBitSet > | MassObserverNotificationTypes.h | |
| FEntitiesContainer | TVariant< FEntityCollection, FMassEntityHandle > | MassObserverNotificationTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AffectedEntities | FEntitiesContainer | MassObserverNotificationTypes.h | ||
| CompositionChange | FCompositionDescription | MassObserverNotificationTypes.h | ||
| Type | EMassObservedOperation | MassObserverNotificationTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddHandle
(
const FMassEntityHandle EntityHandle |
MassObserverNotificationTypes.h | ||
void AppendEntities
(
const FMassEntityHandle EntityHandle |
MassObserverNotificationTypes.h | ||
void AppendEntities
(
const TConstArrayView< FMassEntityHandle > InEntityHandles |
MassObserverNotificationTypes.h | ||
void AppendEntities
(
T&& InEntityCollection |
MassObserverNotificationTypes.h | ||
void AppendEntities
(
const TConstArrayView< FMassEntityHandle > InEntityHandles, |
MassObserverNotificationTypes.h | ||
void DirtyAffectedEntities() |
MassObserverNotificationTypes.h | ||
bool IsCreationNotification() |
MassObserverNotificationTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool AreCompositionsEqual
(
const FCompositionDescription& A, |
MassObserverNotificationTypes.h |