Barotrauma Client Doc
TeleportAction Class Reference
Inheritance diagram for TeleportAction:

Public Types

enum class  TeleportPosition { MainSub , Outpost }
 

Public Member Functions

 TeleportAction (ScriptedEvent parentEvent, ContentXElement element)
 
override void Update (float deltaTime)
 
override bool IsFinished (ref string goToLabel)
 
override void Reset ()
 

Properties

TeleportPosition Position [get, set]
 
SpawnType SpawnType [get, set]
 
string SpawnPointTag [get, set]
 
Identifier TargetTag [get, set]
 

Detailed Description

Definition at line 3 of file TeleportAction.cs.

Member Enumeration Documentation

◆ TeleportPosition

Enumerator
MainSub 
Outpost 

Definition at line 5 of file TeleportAction.cs.

Constructor & Destructor Documentation

◆ TeleportAction()

TeleportAction.TeleportAction ( ScriptedEvent  parentEvent,
ContentXElement  element 
)

Definition at line 21 of file TeleportAction.cs.

Member Function Documentation

◆ IsFinished()

override bool TeleportAction.IsFinished ( ref string  goToLabel)

◆ Reset()

override void TeleportAction.Reset ( )

◆ Update()

override void TeleportAction.Update ( float  deltaTime)

Definition at line 23 of file TeleportAction.cs.

Property Documentation

◆ Position

TeleportPosition TeleportAction.Position
getset

Definition at line 8 of file TeleportAction.cs.

◆ SpawnPointTag

string TeleportAction.SpawnPointTag
getset

Definition at line 14 of file TeleportAction.cs.

◆ SpawnType

SpawnType TeleportAction.SpawnType
getset

Definition at line 11 of file TeleportAction.cs.

◆ TargetTag

Identifier TeleportAction.TargetTag
getset

Definition at line 17 of file TeleportAction.cs.