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

#include <MassCommands.h>

+ Inheritance diagram for FMassCommandChangeTags:

Public Types

using Super = FMassBatchedEntityCommand
 
- Public Types inherited from FMassBatchedEntityCommand
using Super = FMassBatchedCommand
 

Public Member Functions

 FMassCommandChangeTags ()
 
 FMassCommandChangeTags (EMassCommandOperationType OperationType, FMassTagBitSet TagsToAdd, FMassTagBitSet TagsToRemove DEBUG_NAME_PARAM("ChangeTags"))
 
- 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
 
virtual SIZE_T GetAllocatedSize () const override
 
- Protected Member Functions inherited from FMassBatchedEntityCommand
virtual void Reset () override
 
 UE_MT_DECLARE_TS_RW_ACCESS_DETECTOR (EntitiesAccessDetector)
 

Protected Attributes

FMassTagBitSet TagsToAdd
 
FMassTagBitSet TagsToRemove
 
- Protected Attributes inherited from FMassBatchedEntityCommand
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

◆ FMassCommandChangeTags() [1/2]

FMassCommandChangeTags::FMassCommandChangeTags ( )
inline

◆ FMassCommandChangeTags() [2/2]

FMassCommandChangeTags::FMassCommandChangeTags ( EMassCommandOperationType  OperationType,
FMassTagBitSet  TagsToAdd,
FMassTagBitSet TagsToRemove   DEBUG_NAME_PARAM"ChangeTags" 
)
inline

Member Function Documentation

◆ GetAllocatedSize()

virtual SIZE_T FMassCommandChangeTags::GetAllocatedSize ( ) const
inlineoverrideprotectedvirtual

Reimplemented from FMassBatchedEntityCommand.

◆ Run()

virtual void FMassCommandChangeTags::Run ( FMassEntityManager EntityManager)
inlineoverrideprotectedvirtual

Reimplemented from FMassBatchedCommand.

Member Data Documentation

◆ TagsToAdd

FMassTagBitSet FMassCommandChangeTags::TagsToAdd
protected

◆ TagsToRemove

FMassTagBitSet FMassCommandChangeTags::TagsToRemove
protected

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