Skip to content

FSMTextSerializer¶

Module: SMExtendedRuntime

#include <SMTextGraphProperty.h>

Description¶

struct FSMTextSerializer;

Helper for converting object data to text in FSMTextGraphProperty.

Public Functions¶

Name
bool HasToTextFunctions() const

Public Attributes¶

Name
FName ToTextDynamicFunctionName
TArray< FName > ToTextFunctionNames

Friends¶

Name
FORCEINLINE uint32 GetTypeHash(const FSMTextSerializer & TextSerializer)

Public Functions Documentation¶

function HasToTextFunctions¶

inline bool HasToTextFunctions() const

Public Attributes Documentation¶

variable ToTextDynamicFunctionName¶

FName ToTextDynamicFunctionName;

When an object is placed in the text graph this function will be dynamically found from the object and executed. The function should be pure and return only text.

This is dynamically looked up during run-time. If empty no function is looked up.


variable ToTextFunctionNames¶

TArray< FName > ToTextFunctionNames;

When an object is placed in the text graph this function will be looked up from the object and executed. The function should be pure and return only text.

This function must exist on the class of the object placed in the text graph.

If empty no function is looked up.


Friends¶

friend GetTypeHash¶

friend FORCEINLINE uint32 GetTypeHash(
    const FSMTextSerializer & TextSerializer
);