FSmartObjectSlotRuntimeData

Struct to store and manage state of a runtime instance associated to a given slot definition

Choose your operating system:

Windows

macOS

Linux

References

Module

SmartObjectsModule

Header

/Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectRuntime.h

Include

#include "SmartObjectRuntime.h"

Syntax

USTRUCT()
struct FSmartObjectSlotRuntimeData

Remarks

Struct to store and manage state of a runtime instance associated to a given slot definition

Variables

Name Description

Protected variable

FOnSlotInvalida...

 

OnSlotInvalidatedDelegate

Delegate used to notify when a slot gets invalidated. See RegisterSlotInvalidationCallback

Protected variable

FSmartObjectSlo...

 

SlotIndex

Index of the slot in the smart object definition to which this runtime data is associated to

Protected variable

ESmartObjectSlo...

 

State

Current availability state of the slot

Protected variable

FSmartObjectUse...

 

User

Id of the user that reserves or uses the slot

Constructors

Name Description

Public function

FSmartObjectSlotRuntimeData()

Provide default constructor to be able to compile template instantiation 'UScriptStruct::TCppStructOps' Also public to pass void 'UScriptStruct::TCppStructOps::ConstructForTests(void *)'

Protected function

FSmartObjectSlotRuntimeData

(
    const FSmartObjectSlotIndex& InSlo...
)

Functions

Name Description

Protected function

bool

 

Claim

(
    const FSmartObjectUserID& InUser
)

Protected function Const

FString

 

Describe()

Public function Const

ESmartObject...

 

GetState()

Constants

Name

Description

InvalidSlot