Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const DefinitionType * GetBehaviorDefinition
(
const FSmartObjectClaimHandle& ClaimHandle |
Return the behavior definition of a given type from a claimed object. | SmartObjectSubsystem.h | |
const DefinitionType * GetBehaviorDefinition
(
const FSmartObjectRequestResult& RequestResult |
Return the behavior definition of a given type from a claimed object. | SmartObjectSubsystem.h | |
const USmartObjectBehaviorDefinition * GetBehaviorDefinition
(
const FSmartObjectClaimHandle& ClaimHandle, |
Return the behavior definition of a given type from a claimed object. | SmartObjectSubsystem.h |
|
static const USmartObjectBehaviorDefinition * GetBehaviorDefinition
(
const FSmartObjectRuntime& SmartObjectRuntime, |
SmartObjectSubsystem.h |
GetBehaviorDefinition(const FSmartObjectClaimHandle &)
Description
Return the behavior definition of a given type from a claimed object.
| Name | GetBehaviorDefinition |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include Path | #include "SmartObjectSubsystem.h" |
template<typename DefinitionType>
const DefinitionType * GetBehaviorDefinition
(
const FSmartObjectClaimHandle & ClaimHandle
)
The requested behavior definition class pointer associated to the Claim handle
Parameters
| Name | Remarks |
|---|---|
| ClaimHandle | Handle to a claimed slot returned by any of the Claim methods. |
GetBehaviorDefinition(const FSmartObjectRequestResult &)
Description
Return the behavior definition of a given type from a claimed object.
| Name | GetBehaviorDefinition |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include Path | #include "SmartObjectSubsystem.h" |
template<typename DefinitionType>
const DefinitionType * GetBehaviorDefinition
(
const FSmartObjectRequestResult & RequestResult
)
The requested behavior definition class pointer associated to the request result
Parameters
| Name | Remarks |
|---|---|
| RequestResult | A request result returned by any of the Find methods. |
GetBehaviorDefinition(const FSmartObjectClaimHandle &, TSubclassOf< USmartObjectBehaviorDefinition >)
Description
Return the behavior definition of a given type from a claimed object.
| Name | GetBehaviorDefinition |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include Path | #include "SmartObjectSubsystem.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="SmartObject",
Meta=(DeterminesOutputType="DefinitionClass"))
const USmartObjectBehaviorDefinition * GetBehaviorDefinition
(
const FSmartObjectClaimHandle & ClaimHandle,
TSubclassOf < USmartObjectBehaviorDefinition > DefinitionClass
)
The base class pointer of the requested behavior definition class associated to the slotClaim handle
Parameters
| Name | Remarks |
|---|---|
| ClaimHandle | Handle to a claimed slot returned by any of the Claim methods. |
| DefinitionClass | The type of behavior definition. |
GetBehaviorDefinition(const FSmartObjectRuntime &, const FSmartObjectSlotHandle, TSubclassOf< USmartObjectBehaviorDefinition >)
| Name | GetBehaviorDefinition |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include Path | #include "SmartObjectSubsystem.h" |
static const USmartObjectBehaviorDefinition * GetBehaviorDefinition
(
const FSmartObjectRuntime & SmartObjectRuntime,
const FSmartObjectSlotHandle SlotHandle,
TSubclassOf < USmartObjectBehaviorDefinition > DefinitionClass
)