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

Public Types

enum class  SelectedItemType { Primary , Secondary , Any }
 

Public Member Functions

 CheckSelectedAction (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 CharacterTag [get, set]
 
Identifier TargetTag [get, set]
 
SelectedItemType ItemType [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 6 of file CheckSelectedAction.cs.

Member Enumeration Documentation

◆ SelectedItemType

Enumerator
Primary 
Secondary 
Any 

Definition at line 8 of file CheckSelectedAction.cs.

Constructor & Destructor Documentation

◆ CheckSelectedAction()

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

Definition at line 19 of file CheckSelectedAction.cs.

Member Function Documentation

◆ DetermineSuccess()

override? bool Barotrauma.CheckSelectedAction.DetermineSuccess ( )
protectedvirtual

Implements Barotrauma.BinaryOptionAction.

Definition at line 21 of file CheckSelectedAction.cs.

Property Documentation

◆ CharacterTag

Identifier Barotrauma.CheckSelectedAction.CharacterTag
getset

Definition at line 11 of file CheckSelectedAction.cs.

◆ ItemType

SelectedItemType Barotrauma.CheckSelectedAction.ItemType
getset

Definition at line 17 of file CheckSelectedAction.cs.

◆ TargetTag

Identifier Barotrauma.CheckSelectedAction.TargetTag
getset

Definition at line 14 of file CheckSelectedAction.cs.