Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
Description
Returns the const runtime instance associated to the provided handle. Method produces log messages with provided context if provided handle is not set or associated instance can't be found.
| Name | GetValidatedRuntimeAndSlotInternal |
| 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 |
bool GetValidatedRuntimeAndSlotInternal
(
const FSmartObjectSlotHandle & SlotHandle,
const FSmartObjectRuntime *& OutSmartObjectRuntime,
const FSmartObjectRuntimeSlot *& OutSlot,
const ANSICHAR * CallingFunctionName
) const
true if a valid matching runtime instance and slot were found.
Parameters
| Name | Remarks |
|---|---|
| SlotHandle | Handle to a smart object slot. |
| OutSmartObjectRuntime | Runtime instance matching the slot handle. |
| OutSlot | Slot runtime matching the slot handle. |
| CallingFunctionName | String describing the context in which the method is called (e.g. caller function name). |