Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
Description
Use the provided context data that is expected to be already filled by calling 'SetupConditionContextCommonData' and adds the slot related part. It then evaluates all conditions associated to the specified slot.
| Name | EvaluateSlotConditionsInternal |
| 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 EvaluateSlotConditionsInternal
(
FWorldConditionContextData & ConditionContextData,
const FSmartObjectRuntime & SmartObjectRuntime,
const FSmartObjectSlotHandle & SlotHandle
) const
True if all conditions are met; false otherwise
Parameters
| Name | Remarks |
|---|---|
| ConditionContextData | The context data to fill and use for conditions evaluation |
| SmartObjectRuntime | Runtime struct associated to the smart object slot |
| SlotHandle | Handle to the smart object slot |
See Also
- SetupDefaultConditionsContext