UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMassBatchedEntityCommand Struct Reference

#include <MassCommands.h>

+ Inheritance diagram for FMassBatchedEntityCommand:

Public Types

using Super = FMassBatchedCommand
 

Public Member Functions

 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
 
virtual void Run (FMassEntityManager &EntityManager)
 
bool HasWork () const
 
EMassCommandOperationType GetOperationType () const
 

Protected Member Functions

virtual SIZE_T GetAllocatedSize () const
 
virtual void Reset () override
 
 UE_MT_DECLARE_TS_RW_ACCESS_DETECTOR (EntitiesAccessDetector)
 

Protected Attributes

TArray< FMassEntityHandleTargetEntities
 
- 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 ()
 

Member Typedef Documentation

◆ Super

Constructor & Destructor Documentation

◆ FMassBatchedEntityCommand() [1/2]

FMassBatchedEntityCommand::FMassBatchedEntityCommand ( )
default

◆ FMassBatchedEntityCommand() [2/2]

FMassBatchedEntityCommand::FMassBatchedEntityCommand ( EMassCommandOperationType OperationType   DEBUG_NAME_PARAM"BatchedEntityCommand")
inlineexplicit

Member Function Documentation

◆ Add() [1/3]

void FMassBatchedEntityCommand::Add ( FMassEntityHandle  Entity)
inline

◆ Add() [2/3]

void FMassBatchedEntityCommand::Add ( TArray< FMassEntityHandle > &&  Entities)
inline

◆ Add() [3/3]

void FMassBatchedEntityCommand::Add ( TConstArrayView< FMassEntityHandle Entities)
inline

◆ GetAllocatedSize()

virtual SIZE_T FMassBatchedEntityCommand::GetAllocatedSize ( ) const
inlineprotectedvirtual

◆ Reset()

virtual void FMassBatchedEntityCommand::Reset ( )
inlineoverrideprotectedvirtual

◆ UE_MT_DECLARE_TS_RW_ACCESS_DETECTOR()

FMassBatchedEntityCommand::UE_MT_DECLARE_TS_RW_ACCESS_DETECTOR ( EntitiesAccessDetector  )
protected

Member Data Documentation

◆ TargetEntities

TArray<FMassEntityHandle> FMassBatchedEntityCommand::TargetEntities
protected

The documentation for this struct was generated from the following file: