Skip to content

FSMStateHistory

Module: SMSystem

#include <SMNode_Info.h>

Description

struct FSMStateHistory;

[Logic Driver] History summary for a state.

Public Functions

Name
FSMStateHistory()
FSMStateHistory(const FGuid & InStateGuid, const FDateTime & InStartTime, float InTimeInState, float InServerTimeInState)
bool operator==(const FSMStateHistory & Other) const

Public Attributes

Name
FGuid StateGuid
FDateTime StartTime
float TimeInState
float ServerTimeInState

Public Functions Documentation

function FSMStateHistory

inline FSMStateHistory()

function FSMStateHistory

inline FSMStateHistory(
    const FGuid & InStateGuid,
    const FDateTime & InStartTime,
    float InTimeInState,
    float InServerTimeInState
)

function operator==

inline bool operator==(
    const FSMStateHistory & Other
) const

Public Attributes Documentation

variable StateGuid

FGuid StateGuid;

The state guid which can be used with the owning USMInstance to lookup the full state object.


variable StartTime

FDateTime StartTime;

The timestamp from when the state started.


variable TimeInState

float TimeInState;

The total time spent in the state.


variable ServerTimeInState

float ServerTimeInState;

The total time spent in the state according to the server.