Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include | #include "SmartObjectSubsystem.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectSubsystem.cpp |
void RegisterSlotInvalidationCallback
(
const FSmartObjectClaimHandle & ClaimHandle,
const FOnSlotInvalidated & Callback
)
Remarks
Register a callback to be notified if the claimed slot is no longer available and user need to perform cleanup.
Parameters
| Name | Description |
|---|---|
| ClaimHandle | Handle to a claimed slot returned by any of the Claim methods. |
| Callback | Delegate that will be called to notify that a slot gets invalidated and can no longer be used. |