Skip to content

LD::ExposedFunctions¶

Description¶

Utility functions for managing blueprint exposed functions. These utilities are meant for internal use with the plugin and are exported for other modules to use. Licensees may want to write their own implementations.

Functions¶

Name
SMSYSTEM_API FSMExposedNodeFunctions * FindExposedNodeFunctions(const FSMNode_Base * InNode)
SMSYSTEM_API void InitializeGraphFunctions(TArray< FSMExposedFunctionHandler * > & InGraphFunctions, const UClass * InSMClass, const UClass * InNodeClass)
SMSYSTEM_API void InitializeGraphFunctions(TArray< FSMExposedFunctionHandler > & InGraphFunctions, const UClass * InSMClass, const UClass * InNodeClass)
SMSYSTEM_API void InitializeGraphFunctions(TArray< FSMExposedFunctionHandler > & InGraphFunctions, const USMInstance * InInstance, const USMNodeInstance * InNodeInstance)
SMSYSTEM_API void ExecuteGraphFunctions(const TArray< FSMExposedFunctionHandler > & InGraphFunctions, USMInstance * InInstance, USMNodeInstance * InNodeInstance, void * InParams =nullptr)
SMSYSTEM_API void ExecuteGraphFunction(const FSMExposedFunctionHandler & InFunctionHandler, USMInstance * InInstance, USMNodeInstance * InNodeInstance, void * InParams =nullptr)

Functions Documentation¶

function FindExposedNodeFunctions¶

SMSYSTEM_API FSMExposedNodeFunctions * FindExposedNodeFunctions(
    const FSMNode_Base * InNode
)

Locate the all exposed functions on a node.


function InitializeGraphFunctions¶

SMSYSTEM_API void InitializeGraphFunctions(
    TArray< FSMExposedFunctionHandler * > & InGraphFunctions,
    const UClass * InSMClass,
    const UClass * InNodeClass
)

Iterate through all functions initializing them.


function InitializeGraphFunctions¶

SMSYSTEM_API void InitializeGraphFunctions(
    TArray< FSMExposedFunctionHandler > & InGraphFunctions,
    const UClass * InSMClass,
    const UClass * InNodeClass
)

function InitializeGraphFunctions¶

SMSYSTEM_API void InitializeGraphFunctions(
    TArray< FSMExposedFunctionHandler > & InGraphFunctions,
    const USMInstance * InInstance,
    const USMNodeInstance * InNodeInstance
)

function ExecuteGraphFunctions¶

SMSYSTEM_API void ExecuteGraphFunctions(
    const TArray< FSMExposedFunctionHandler > & InGraphFunctions,
    USMInstance * InInstance,
    USMNodeInstance * InNodeInstance,
    void * InParams =nullptr
)

Iterates through all functions executing them.


function ExecuteGraphFunction¶

SMSYSTEM_API void ExecuteGraphFunction(
    const FSMExposedFunctionHandler & InFunctionHandler,
    USMInstance * InInstance,
    USMNodeInstance * InNodeInstance,
    void * InParams =nullptr
)

Execute specific function.