Skip to content

FSMGraphProperty_Base_Runtime

Module: SMSystem

#include <SMGraphProperty_Base.h>

Inherited by FSMGraphProperty_Base, FSMGraphProperty_Runtime, FSMTextGraphProperty_Runtime

Description

struct FSMGraphProperty_Base_Runtime;

The base graph properties containing the bare essentials for run-time. Any run-time graph property types should inherit from this.

Public Functions

Name
FSMGraphProperty_Base_Runtime()
virtual ~FSMGraphProperty_Base_Runtime() =default
virtual void Initialize(FSMNode_Base * InOwningNode)
virtual void Execute(void * Params =nullptr)
virtual uint8 * GetResult() const
virtual void SetResult(uint8 * Value)
virtual const FGuid & SetGuid(const FGuid & NewGuid)
const FGuid & GetGuid() const
virtual const FGuid & SetOwnerGuid(const FGuid & NewGuid)
const FGuid & GetOwnerGuid() const
void SetIsDefaultValueOnly(bool bNewValue)
bool GetIsDefaultValueOnly() const
virtual FName GetResultPropertyName() const

Public Attributes

Name
TArray< FSMExposedFunctionHandler > * GraphEvaluator
FSMGraphProperty_Base_Runtime * LinkedProperty

Protected Attributes

Name
FGuid Guid
FGuid OwnerGuid
uint8 bIsDefaultValueOnly
FSMNode_Base * OwningNode

Public Functions Documentation

function FSMGraphProperty_Base_Runtime

FSMGraphProperty_Base_Runtime()

function ~FSMGraphProperty_Base_Runtime

virtual ~FSMGraphProperty_Base_Runtime() =default

function Initialize

virtual void Initialize(
    FSMNode_Base * InOwningNode
)

function Execute

virtual void Execute(
    void * Params =nullptr
)

function GetResult

inline virtual uint8 * GetResult() const

Reimplemented by: FSMTextGraphProperty_Runtime::GetResult, FSMTextGraphProperty::GetResult


function SetResult

inline virtual void SetResult(
    uint8 * Value
)

Reimplemented by: FSMTextGraphProperty_Runtime::SetResult, FSMTextGraphProperty::SetResult


function SetGuid

virtual const FGuid & SetGuid(
    const FGuid & NewGuid
)

Reimplemented by: FSMGraphProperty_Base::SetGuid


function GetGuid

inline const FGuid & GetGuid() const

function SetOwnerGuid

virtual const FGuid & SetOwnerGuid(
    const FGuid & NewGuid
)

function GetOwnerGuid

inline const FGuid & GetOwnerGuid() const

Returns the graph property owner of this node. Likely itself.


function SetIsDefaultValueOnly

inline void SetIsDefaultValueOnly(
    bool bNewValue
)

Set whether the variable contains a default value only.


function GetIsDefaultValueOnly

inline bool GetIsDefaultValueOnly() const

Does this variable only contain a default value.


function GetResultPropertyName

inline virtual FName GetResultPropertyName() const

Get the property name of the result field.

Reimplemented by: FSMTextGraphProperty::GetResultPropertyName


Public Attributes Documentation

variable GraphEvaluator

TArray< FSMExposedFunctionHandler > * GraphEvaluator;

variable LinkedProperty

FSMGraphProperty_Base_Runtime * LinkedProperty;

If set then the linked property is the one that is actually executing, but this struct is the one being read from.


Protected Attributes Documentation

variable Guid

FGuid Guid;

variable OwnerGuid

FGuid OwnerGuid;

The graph property owner. If this struct is defined within a node class and instanced to a state machine then the guid of class CDO is the owner.


variable bIsDefaultValueOnly

uint8 bIsDefaultValueOnly;

If only a default value is assigned (no variable connected)


variable OwningNode

FSMNode_Base * OwningNode;

The node this graph property belongs to.