FCommandSwapTags

Command for swapping given tags for a given entity.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FCommandBufferEntryBase

FCommandSwapTags

References

Module

MassEntity

Header

/Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassCommandBuffer.h

Include

#include "MassCommandBuffer.h"

Syntax

USTRUCT()
struct FCommandSwapTags : public FCommandBufferEntryBase

Remarks

Command for swapping given tags for a given entity.

that the entity doesn't need to own the "old tag", the "new tag" will be added regardless.

Variables

Name Description

Protected variable

const UScriptSt...

 

NewTagType

Protected variable

const UScriptSt...

 

OldTagType

Constructors

Name Description

Public function

FCommandSwapTags()

Public function

FCommandSwapTags

(
    const FMassEntityHandle InEntity,
    const UScriptStruct* InOldTagT...,
    const UScriptStruct* InNewTagT...
)

Overridden from FCommandBufferEntryBase

Name Description

Protected function Virtual Const

void

 

Execute

(
    UMassEntitySubsystem& System
)

Constants

Name

Description

Type