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

Waits for some item(s) to be fabricated before continuing the execution of the event. More...

Inheritance diagram for Barotrauma.WaitForItemFabricatedAction:
Barotrauma.EventAction

Public Member Functions

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

Properties

Identifier CharacterTag [get, set]
 
Identifier ItemIdentifier [get, set]
 
Identifier ItemTag [get, set]
 
int Amount [get, set]
 
Identifier ApplyTagToItem [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)
 
string GetEventDebugName ()
 

Detailed Description

Waits for some item(s) to be fabricated before continuing the execution of the event.

Constructor & Destructor Documentation

◆ WaitForItemFabricatedAction()

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

Member Function Documentation

◆ IsFinished()

override bool Barotrauma.WaitForItemFabricatedAction.IsFinished ( ref string goTo)

◆ OnItemFabricated()

void Barotrauma.WaitForItemFabricatedAction.OnItemFabricated ( Item item,
Character character )

◆ Reset()

override void Barotrauma.WaitForItemFabricatedAction.Reset ( )

◆ ToDebugString()

override string Barotrauma.WaitForItemFabricatedAction.ToDebugString ( )
virtual

Rich test to display in debugdraw.

public override string ToDebugString()
{
return $"{ToolBox.GetDebugSymbol(isFinished)} SomeAction -> "(someInfo: {info.ColorizeObject()})";
}
override string ToDebugString()
Rich test to display in debugdraw.
Definition WaitForItemFabricatedAction.cs:75
Returns

Reimplemented from Barotrauma.EventAction.

Property Documentation

◆ Amount

int Barotrauma.WaitForItemFabricatedAction.Amount
getset

◆ ApplyTagToItem

Identifier Barotrauma.WaitForItemFabricatedAction.ApplyTagToItem
getset

◆ CharacterTag

Identifier Barotrauma.WaitForItemFabricatedAction.CharacterTag
getset

◆ ItemIdentifier

Identifier Barotrauma.WaitForItemFabricatedAction.ItemIdentifier
getset

◆ ItemTag

Identifier Barotrauma.WaitForItemFabricatedAction.ItemTag
getset

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