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

Public Member Functions

 CheckConditionalAction (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]
 
PropertyConditional.LogicalOperatorType LogicalOperator [get, set]
 
Identifier ApplyTagToLinkedHulls [get, set]
 
Identifier ApplyTagToHull [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 9 of file CheckConditionalAction.cs.

Constructor & Destructor Documentation

◆ CheckConditionalAction()

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

Definition at line 25 of file CheckConditionalAction.cs.

Member Function Documentation

◆ DetermineSuccess()

override? bool Barotrauma.CheckConditionalAction.DetermineSuccess ( )
protectedvirtual

Implements Barotrauma.BinaryOptionAction.

Definition at line 71 of file CheckConditionalAction.cs.

Property Documentation

◆ ApplyTagToHull

Identifier Barotrauma.CheckConditionalAction.ApplyTagToHull
getset

Definition at line 23 of file CheckConditionalAction.cs.

◆ ApplyTagToLinkedHulls

Identifier Barotrauma.CheckConditionalAction.ApplyTagToLinkedHulls
getset

Definition at line 20 of file CheckConditionalAction.cs.

◆ LogicalOperator

PropertyConditional.LogicalOperatorType Barotrauma.CheckConditionalAction.LogicalOperator
getset

Definition at line 15 of file CheckConditionalAction.cs.

◆ TargetTag

Identifier Barotrauma.CheckConditionalAction.TargetTag
getset

Definition at line 12 of file CheckConditionalAction.cs.