![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MassCommands.h>
Inheritance diagram for FMassCommandAddElement:Public Types | |
| using | Super = FMassBatchedEntityCommand |
Public Types inherited from FMassBatchedEntityCommand | |
| using | Super = FMassBatchedCommand |
Public Member Functions | |
| FMassCommandAddElement (const TNotNull< const UScriptStruct * > InElementType) | |
Public Member Functions inherited from FMassBatchedEntityCommand | |
| FMassBatchedEntityCommand ()=default | |
| FMassBatchedEntityCommand (EMassCommandOperationType OperationType DEBUG_NAME_PARAM("BatchedEntityCommand")) | |
| void | Add (FMassEntityHandle Entity) |
| void | Add (TConstArrayView< FMassEntityHandle > Entities) |
| void | Add (TArray< FMassEntityHandle > &&Entities) |
Public Member Functions inherited from FMassBatchedCommand | |
| FMassBatchedCommand ()=default | |
| FMassBatchedCommand (EMassCommandOperationType OperationType) | |
| virtual | ~FMassBatchedCommand () |
| virtual void | Execute (FMassEntityManager &EntityManager) const |
| bool | HasWork () const |
| EMassCommandOperationType | GetOperationType () const |
Protected Member Functions | |
| virtual void | Run (FMassEntityManager &EntityManager) override |
Protected Member Functions inherited from FMassBatchedEntityCommand | |
| virtual SIZE_T | GetAllocatedSize () const |
| virtual void | Reset () override |
| UE_MT_DECLARE_TS_RW_ACCESS_DETECTOR (EntitiesAccessDetector) | |
Protected Attributes | |
| TNotNull< const UScriptStruct * > | ElementType |
Protected Attributes inherited from FMassBatchedEntityCommand | |
| TArray< FMassEntityHandle > | TargetEntities |
Protected Attributes inherited from FMassBatchedCommand | |
| bool | bHasWork = false |
| EMassCommandOperationType | OperationType = EMassCommandOperationType::None |
Additional Inherited Members | |
Static Public Member Functions inherited from FMassBatchedCommand | |
| template<typename T > | |
| static UE_AUTORTFM_ALWAYS_OPEN uint32 | GetCommandIndex () |
Command capable of adding any element type, be it a fragment or a tag. Note that this type of command can only be added via PushUniqueCommand
|
inline |
|
inlineoverrideprotectedvirtual |
Reimplemented from FMassBatchedCommand.
|
protected |