Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassCommandBuffer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMassBatchedCommand & PushUniqueCommand
(
TUniquePtr< FMassBatchedCommand >&& CommandInstance |
Ordinary PushCommand calls try to reuse existing command instances (as stored in CommandInstances) based on their type. | MassCommandBuffer.h | |
TCommand & PushUniqueCommand
(
ArgsType&&... Args |
MassCommandBuffer.h |
PushUniqueCommand(TUniquePtr< FMassBatchedCommand > &&)
Description
Ordinary PushCommand calls try to reuse existing command instances (as stored in CommandInstances) based on their type. This command lets callers add a manually configured command instance, that might not be distinguishable from other commands based solely on its type. For example, when you implement a command type that has member properties that control how the given command works or what exactly it does.
| Name | PushUniqueCommand |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassCommandBuffer.h |
| Include Path | #include "MassCommandBuffer.h" |
FMassBatchedCommand & PushUniqueCommand
(
TUniquePtr < FMassBatchedCommand > && CommandInstance
)
PushUniqueCommand(ArgsType &&...)
| Name | PushUniqueCommand |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassCommandBuffer.h |
| Include Path | #include "MassCommandBuffer.h" |
template<typename TCommand, typename... ArgsType>
TCommand & PushUniqueCommand
(
ArgsType &&... Args
)