Space Engineers
Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
VRage.Generics.MyStateMachineNode Class Reference

Node of the state machine. More...

Inheritance diagram for VRage.Generics.MyStateMachineNode:
VRage.Game.VisualScripting.Campaign.MyCampaignStateMachineNode VRage.Game.VisualScripting.Missions.MyVSStateMachineBarrierNode VRage.Game.VisualScripting.Missions.MyVSStateMachineFinalNode VRage.Game.VisualScripting.Missions.MyVSStateMachineNode VRage.Game.VisualScripting.Missions.MyVSStateMachineSpreadNode VRageRender.Animations.MyAnimationStateMachineNode

Public Member Functions

 MyStateMachineNode (string name)
 
virtual void OnUpdate (MyStateMachine stateMachine)
 

Public Attributes

bool PassThrough = false
 

Protected Member Functions

virtual void TransitionAddedInternal (MyStateMachineTransition transition)
 Called after Transition is added. Override for custom behavior. More...
 
virtual void TransitionRemovedInternal (MyStateMachineTransition transition)
 Called before Transition remove. Override for custom behavior. More...
 
virtual void ExpandInternal (MyStateMachineCursor cursor, MyConcurrentHashSet< MyStringId > enquedActions, int passThrough)
 Expands current node with given cursor. First enquedAction is taking place then any valid transition. Cursor is being transitioned to result of expansion. Override this for custom behavior. More...
 
virtual MyStateMachineTransition QueryNextTransition ()
 

Properties

string Name [get]
 

Detailed Description

Node of the state machine.

Definition at line 10 of file MyStateMachineNode.cs.

Constructor & Destructor Documentation

VRage.Generics.MyStateMachineNode.MyStateMachineNode ( string  name)
inline

Definition at line 30 of file MyStateMachineNode.cs.

Member Function Documentation

virtual void VRage.Generics.MyStateMachineNode.ExpandInternal ( MyStateMachineCursor  cursor,
MyConcurrentHashSet< MyStringId enquedActions,
int  passThrough 
)
inlineprotectedvirtual

Expands current node with given cursor. First enquedAction is taking place then any valid transition. Cursor is being transitioned to result of expansion. Override this for custom behavior.

Reimplemented in VRage.Game.VisualScripting.Missions.MyVSStateMachineBarrierNode, VRage.Game.VisualScripting.Missions.MyVSStateMachineFinalNode, and VRage.Game.VisualScripting.Missions.MyVSStateMachineSpreadNode.

Definition at line 74 of file MyStateMachineNode.cs.

virtual void VRage.Generics.MyStateMachineNode.OnUpdate ( MyStateMachine  stateMachine)
inlinevirtual
virtual MyStateMachineTransition VRage.Generics.MyStateMachineNode.QueryNextTransition ( )
inlineprotectedvirtual

Reimplemented in VRageRender.Animations.MyAnimationStateMachineNode.

Definition at line 116 of file MyStateMachineNode.cs.

virtual void VRage.Generics.MyStateMachineNode.TransitionAddedInternal ( MyStateMachineTransition  transition)
inlineprotectedvirtual

Called after Transition is added. Override for custom behavior.

Reimplemented in VRage.Game.VisualScripting.Missions.MyVSStateMachineNode, and VRage.Game.VisualScripting.Missions.MyVSStateMachineBarrierNode.

Definition at line 46 of file MyStateMachineNode.cs.

virtual void VRage.Generics.MyStateMachineNode.TransitionRemovedInternal ( MyStateMachineTransition  transition)
inlineprotectedvirtual

Called before Transition remove. Override for custom behavior.

Reimplemented in VRage.Game.VisualScripting.Missions.MyVSStateMachineBarrierNode.

Definition at line 59 of file MyStateMachineNode.cs.

Member Data Documentation

bool VRage.Generics.MyStateMachineNode.PassThrough = false

Definition at line 27 of file MyStateMachineNode.cs.

Property Documentation

string VRage.Generics.MyStateMachineNode.Name
get

Definition at line 16 of file MyStateMachineNode.cs.


The documentation for this class was generated from the following file: