Barotrauma Client Doc
|
Public Types | |
enum class | OperationType { Set , Multiply , Min , Max } |
enum class | PriceMultiplierType { Store , Mechanical } |
Public Member Functions | |
SetPriceMultiplierAction (ScriptedEvent parentEvent, ContentXElement element) | |
override bool | IsFinished (ref string goTo) |
Has the action finished. More... | |
override void | Reset () |
override void | Update (float deltaTime) |
override string | ToDebugString () |
Rich test to display in debugdraw More... | |
Public Member Functions inherited from Barotrauma.EventAction | |
EventAction (ScriptedEvent parentEvent, ContentXElement element) | |
virtual bool | SetGoToTarget (string goTo) |
virtual bool | CanBeFinished () |
virtual IEnumerable< EventAction > | GetSubActions () |
Properties | |
float | Multiplier [get, set] |
OperationType | Operation [get, set] |
PriceMultiplierType | TargetMultiplier [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) |
Definition at line 6 of file SetPriceMultiplierAction.cs.
Enumerator | |
---|---|
Set | |
Multiply | |
Min | |
Max |
Definition at line 8 of file SetPriceMultiplierAction.cs.
Enumerator | |
---|---|
Store | |
Mechanical |
Definition at line 16 of file SetPriceMultiplierAction.cs.
Barotrauma.SetPriceMultiplierAction.SetPriceMultiplierAction | ( | ScriptedEvent | parentEvent, |
ContentXElement | element | ||
) |
Definition at line 31 of file SetPriceMultiplierAction.cs.
|
virtual |
Has the action finished.
goToLabel | If null or empty, the event moves to the next action. Otherwise it moves to the specified label. |
Implements Barotrauma.EventAction.
Definition at line 35 of file SetPriceMultiplierAction.cs.
|
virtual |
Implements Barotrauma.EventAction.
Definition at line 39 of file SetPriceMultiplierAction.cs.
|
virtual |
Rich test to display in debugdraw
Reimplemented from Barotrauma.EventAction.
Definition at line 99 of file SetPriceMultiplierAction.cs.
|
virtual |
Reimplemented from Barotrauma.EventAction.
Definition at line 44 of file SetPriceMultiplierAction.cs.
|
getset |
Definition at line 23 of file SetPriceMultiplierAction.cs.
|
getset |
Definition at line 26 of file SetPriceMultiplierAction.cs.
|
getset |
Definition at line 29 of file SetPriceMultiplierAction.cs.