FSMStateConnectionValidator¶
Module: SMSystem
#include <SMNodeRules.h>
Inherits from FSMConnectionValidator
Description¶
Describe under what conditions nodes are allowed to be connected.
Public Functions¶
Name | |
---|---|
bool | IsInboundConnectionValid(const TSoftClassPtr< USMNodeInstance > & FromClass, const TSoftClassPtr< USMNodeInstance > & StateMachineClass) const |
bool | IsOutboundConnectionValid(const TSoftClassPtr< USMNodeInstance > & ToClass, const TSoftClassPtr< USMNodeInstance > & StateMachineClass) const |
Public Attributes¶
Name | |
---|---|
TArray< FSMStateClassRule > | AllowedInboundStates |
TArray< FSMStateClassRule > | AllowedOutboundStates |
TArray< FSMStateMachineClassRule > | AllowedInStateMachines |
Public Functions Documentation¶
function
IsInboundConnectionValid¶
bool IsInboundConnectionValid(
const TSoftClassPtr< USMNodeInstance > & FromClass,
const TSoftClassPtr< USMNodeInstance > & StateMachineClass
) const
Checks if this class has rules and if any of them apply.
function
IsOutboundConnectionValid¶
bool IsOutboundConnectionValid(
const TSoftClassPtr< USMNodeInstance > & ToClass,
const TSoftClassPtr< USMNodeInstance > & StateMachineClass
) const
Checks if this class has rules and if any of them apply.
Public Attributes Documentation¶
variable
AllowedInboundStates¶
States that can connect to this state.
variable
AllowedOutboundStates¶
States that this state can connect to.
variable
AllowedInStateMachines¶
State machines that this state can be placed in.