Barotrauma Client Doc
Barotrauma.CheckOrderAction Class Reference
Inheritance diagram for Barotrauma.CheckOrderAction:
Barotrauma.BinaryOptionAction Barotrauma.EventAction

Public Types

enum class  OrderPriority { Top , Any }
 

Public Member Functions

 CheckOrderAction (ScriptedEvent parentEvent, ContentXElement element)
 
- Public Member Functions inherited from Barotrauma.BinaryOptionAction
 BinaryOptionAction (ScriptedEvent parentEvent, ContentXElement element)
 
override IEnumerable< EventActionGetSubActions ()
 
override bool IsFinished (ref string goTo)
 Has the action finished. More...
 
override bool SetGoToTarget (string goTo)
 
override void Reset ()
 
override void Update (float deltaTime)
 
- Public Member Functions inherited from Barotrauma.EventAction
 EventAction (ScriptedEvent parentEvent, ContentXElement element)
 
virtual bool CanBeFinished ()
 
virtual string ToDebugString ()
 Rich test to display in debugdraw More...
 

Protected Member Functions

override? bool DetermineSuccess ()
 
- Protected Member Functions inherited from Barotrauma.BinaryOptionAction
bool DetermineFinished ()
 
bool DetermineFinished (ref string goTo)
 
bool HasBeenDetermined ()
 
- Protected Member Functions inherited from Barotrauma.EventAction
void ApplyTagsToHulls (Entity entity, Identifier hullTag, Identifier linkedHullTag)
 

Properties

Identifier TargetTag [get, set]
 
Identifier OrderIdentifier [get, set]
 
Identifier OrderOption [get, set]
 
Identifier OrderTargetTag [get, set]
 
OrderPriority Priority [get, set]
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.EventAction
static EventAction Instantiate (ScriptedEvent scriptedEvent, ContentXElement element)
 
- Public Attributes inherited from Barotrauma.BinaryOptionAction
SubactionGroup Success = null
 
SubactionGroup Failure = null
 
- Public Attributes inherited from Barotrauma.EventAction
readonly ScriptedEvent ParentEvent
 
- Protected Attributes inherited from Barotrauma.BinaryOptionAction
bool? succeeded = null
 

Detailed Description

Definition at line 5 of file CheckOrderAction.cs.

Member Enumeration Documentation

◆ OrderPriority

Enumerator
Top 
Any 

Definition at line 7 of file CheckOrderAction.cs.

Constructor & Destructor Documentation

◆ CheckOrderAction()

Barotrauma.CheckOrderAction.CheckOrderAction ( ScriptedEvent  parentEvent,
ContentXElement  element 
)

Definition at line 28 of file CheckOrderAction.cs.

Member Function Documentation

◆ DetermineSuccess()

override? bool Barotrauma.CheckOrderAction.DetermineSuccess ( )
protectedvirtual

Implements Barotrauma.BinaryOptionAction.

Definition at line 30 of file CheckOrderAction.cs.

Property Documentation

◆ OrderIdentifier

Identifier Barotrauma.CheckOrderAction.OrderIdentifier
getset

Definition at line 17 of file CheckOrderAction.cs.

◆ OrderOption

Identifier Barotrauma.CheckOrderAction.OrderOption
getset

Definition at line 20 of file CheckOrderAction.cs.

◆ OrderTargetTag

Identifier Barotrauma.CheckOrderAction.OrderTargetTag
getset

Definition at line 23 of file CheckOrderAction.cs.

◆ Priority

OrderPriority Barotrauma.CheckOrderAction.Priority
getset

Definition at line 26 of file CheckOrderAction.cs.

◆ TargetTag

Identifier Barotrauma.CheckOrderAction.TargetTag
getset

Definition at line 14 of file CheckOrderAction.cs.