UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMassBatchedCommand Struct Referenceabstract

#include <MassCommands.h>

+ Inheritance diagram for FMassBatchedCommand:

Public Member Functions

 FMassBatchedCommand ()=default
 
 FMassBatchedCommand (EMassCommandOperationType OperationType)
 
virtual ~FMassBatchedCommand ()
 
virtual void Execute (FMassEntityManager &EntityManager) const
 
virtual void Run (FMassEntityManager &EntityManager)
 
virtual void Reset ()
 
bool HasWork () const
 
EMassCommandOperationType GetOperationType () const
 
virtual SIZE_T GetAllocatedSize () const =0
 

Static Public Member Functions

template<typename T >
static UE_AUTORTFM_ALWAYS_OPEN uint32 GetCommandIndex ()
 

Protected Attributes

bool bHasWork = false
 
EMassCommandOperationType OperationType = EMassCommandOperationType::None
 

Constructor & Destructor Documentation

◆ FMassBatchedCommand() [1/2]

FMassBatchedCommand::FMassBatchedCommand ( )
default

◆ FMassBatchedCommand() [2/2]

FMassBatchedCommand::FMassBatchedCommand ( EMassCommandOperationType  OperationType)
inlineexplicit

◆ ~FMassBatchedCommand()

virtual FMassBatchedCommand::~FMassBatchedCommand ( )
inlinevirtual

Member Function Documentation

◆ Execute()

virtual void FMassBatchedCommand::Execute ( FMassEntityManager EntityManager) const
inlinevirtual

◆ GetAllocatedSize()

◆ GetCommandIndex()

template<typename T >
static UE_AUTORTFM_ALWAYS_OPEN uint32 FMassBatchedCommand::GetCommandIndex ( )
inlinestatic

◆ GetOperationType()

EMassCommandOperationType FMassBatchedCommand::GetOperationType ( ) const
inline

◆ HasWork()

bool FMassBatchedCommand::HasWork ( ) const
inline

◆ Reset()

◆ Run()

Member Data Documentation

◆ bHasWork

bool FMassBatchedCommand::bHasWork = false
protected

◆ OperationType

EMassCommandOperationType FMassBatchedCommand::OperationType = EMassCommandOperationType::None
protected

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