Skip to content

FSMInfo_Base¶

Module: SMSystem

Inherited by FSMStateInfo, FSMTransitionInfo

Public Functions¶

Name
FSMInfo_Base()
FSMInfo_Base(const FSMNode_Base & Node)
virtual ~FSMInfo_Base() =default
virtual FString ToString() const

Public Attributes¶

Name
FString NodeName
FGuid Guid
FGuid OwnerGuid
FGuid NodeGuid
FGuid OwnerNodeGuid
TObjectPtr< class USMNodeInstance > NodeInstance

Public Functions Documentation¶

function FSMInfo_Base¶

FSMInfo_Base()

function FSMInfo_Base¶

FSMInfo_Base(
    const FSMNode_Base & Node
)

function ~FSMInfo_Base¶

virtual ~FSMInfo_Base() =default

function ToString¶

virtual FString ToString() const

Public Attributes Documentation¶

variable NodeName¶

FString NodeName;

Friendly name of this node. Not guaranteed to be unique.


variable Guid¶

FGuid Guid;

Unique identifier calculated from a node's position in an instance. The PathGuid of FSMNode_Base. Compatible with TryGetInfo.


variable OwnerGuid¶

FGuid OwnerGuid;

The state machine's PathGuid owning this node. Compatible with TryGetStateInfo.


variable NodeGuid¶

FGuid NodeGuid;

Guid assigned to this node during creation. May not be unique if this node is referenced multiple times.


variable OwnerNodeGuid¶

FGuid OwnerNodeGuid;

Guid assigned to the parent node during creation. May not be unique if this node is referenced multiple times.


variable NodeInstance¶

TObjectPtr< class USMNodeInstance > NodeInstance;

The node instance for this class. This will either be a default StateInstance or TransitionInstance, or a user defined one.

Deprecated:

Use USMInstance::GetNodeInstanceByGuid() on the root state machine instance and pass in the Guid.

Warning:

This may now be null since the instance is only loaded on demand.