Barotrauma Server
Loading...
Searching...
No Matches
Barotrauma.CheckOrderAction Class Reference

Check whether a specific character has been given a specific order. More...

Inheritance diagram for Barotrauma.CheckOrderAction:
Barotrauma.BinaryOptionAction Barotrauma.EventAction

Public Types

enum  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)
 
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)
 
bool IsFinished (ref string goToLabel)
 Has the action finished.
 
void Reset ()
 
virtual bool CanBeFinished ()
 
virtual string ToDebugString ()
 Rich test to display in debugdraw.
 

Protected Member Functions

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

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

Check whether a specific character has been given a specific order.

Member Enumeration Documentation

◆ OrderPriority

Enumerator
Top 
Any 

Constructor & Destructor Documentation

◆ CheckOrderAction()

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

Member Function Documentation

◆ DetermineSuccess()

override? bool Barotrauma.CheckOrderAction.DetermineSuccess ( )
protected

Property Documentation

◆ OrderIdentifier

Identifier Barotrauma.CheckOrderAction.OrderIdentifier
getset

◆ OrderOption

Identifier Barotrauma.CheckOrderAction.OrderOption
getset

◆ OrderTargetTag

Identifier Barotrauma.CheckOrderAction.OrderTargetTag
getset

◆ Priority

OrderPriority Barotrauma.CheckOrderAction.Priority
getset

◆ TargetTag

Identifier Barotrauma.CheckOrderAction.TargetTag
getset

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