Barotrauma Client Doc
Barotrauma.RemoveItemAction Class Reference
Inheritance diagram for Barotrauma.RemoveItemAction:
Barotrauma.EventAction

Public Member Functions

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

Properties

Identifier TargetTag [get, set]
 
string ItemIdentifiers [get, set]
 
int Amount [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.EventAction
readonly ScriptedEvent ParentEvent
 
- Protected Member Functions inherited from Barotrauma.EventAction
void ApplyTagsToHulls (Entity entity, Identifier hullTag, Identifier linkedHullTag)
 

Detailed Description

Definition at line 6 of file RemoveItemAction.cs.

Constructor & Destructor Documentation

◆ RemoveItemAction()

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

Definition at line 19 of file RemoveItemAction.cs.

Member Function Documentation

◆ IsFinished()

override bool Barotrauma.RemoveItemAction.IsFinished ( ref string  goToLabel)
virtual

Has the action finished.

Parameters
goToLabelIf null or empty, the event moves to the next action. Otherwise it moves to the specified label.
Returns

Implements Barotrauma.EventAction.

Definition at line 30 of file RemoveItemAction.cs.

◆ Reset()

override void Barotrauma.RemoveItemAction.Reset ( )
virtual

Implements Barotrauma.EventAction.

Definition at line 34 of file RemoveItemAction.cs.

◆ Update()

override void Barotrauma.RemoveItemAction.Update ( float  deltaTime)
virtual

Reimplemented from Barotrauma.EventAction.

Definition at line 39 of file RemoveItemAction.cs.

Property Documentation

◆ Amount

int Barotrauma.RemoveItemAction.Amount
getset

Definition at line 15 of file RemoveItemAction.cs.

◆ ItemIdentifiers

string Barotrauma.RemoveItemAction.ItemIdentifiers
getset

Definition at line 12 of file RemoveItemAction.cs.

◆ TargetTag

Identifier Barotrauma.RemoveItemAction.TargetTag
getset

Definition at line 9 of file RemoveItemAction.cs.