Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/MassGameplay/Source/MassSmartObjects/Public/MassSmartObjectHandler.h |
Include |
#include "MassSmartObjectHandler.h" |
struct FMassSmartObjectHandler
Mediator struct that encapsulates communication between SmartObjectSubsystem and Mass. This object is meant to be created and used in method scope to guarantee subsystems validity.
Name | Description | |
---|---|---|
|
FMassSmartObjectHandler ( |
FMassSmartObjectHandler constructor |
Name | Description | ||
---|---|---|---|
|
EMassSmartOb... |
ClaimCandidate ( |
Claims the first available smart object from the results of the find request. |
|
EMassSmartOb... |
ClaimCandidate ( |
Claims the first available smart object from the provided results. |
|
ClaimSmartObject ( |
Claims the first available slot holding any type of USmartObjectMassBehaviorDefinition in the smart object associated to the provided identifier. |
|
|
FMassSmartOb... |
FindCandidatesAsync ( |
Creates an async request to build a list of compatible smart objects around the provided location. |
|
FMassSmartOb... |
FindCandidatesAsync ( |
Creates an async request to build a list of compatible smart objects around the provided lane location. |
|
FMassSmartOb... |
GetRequestResult ( |
Provides the result of a previously created request from FindCandidatesAsync to indicate if it has been processed and the results can be used by ClaimCandidate. |
|
ReleaseSmartObject ( |
Releases a claimed/in-use smart object and update user fragment. |
|
|
RemoveRequest ( |
Deletes the request associated to the specified identifier |
|
|
UseSmartObject ( |
Activates the mass gameplay behavior associated to the previously claimed smart object. |