Navigation
API > API/Plugins > API/Plugins/MassSmartObjects > API/Plugins/MassSmartObjects/FMassSmartObjectHandler
References
| Module | MassSmartObjects |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSmartObjects/Public/MassSmartObjectHandler.h |
| Include | #include "MassSmartObjectHandler.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassSmartObjects/Private/MassSmartObjectHandler.cpp |
FSmartObjectClaimHandle ClaimSmartObject
&40;
const FMassEntityHandle Entity,
FMassSmartObjectUserFragment & User,
const FSmartObjectRequestResult & RequestResult
&41; const
Remarks
Claims the first available slot holding any type of USmartObjectMassBehaviorDefinition in the smart object associated to the provided identifier. Whether the slot has been successfully claimed or not
Parameters
| Name | Description |
|---|---|
| Entity | MassEntity associated to the user fragment |
| User | Fragment of the user claiming |
| RequestResult | A valid smart object request result (method will ensure otherwise) |