Barotrauma Client Doc
|
Public Types | |
enum class | SegmentActionType { Trigger , Add , AddIfNotFound , Complete , CompleteAndRemove , Remove , Fail , FailAndRemove } |
Public Member Functions | |
EventObjectiveAction (ScriptedEvent parentEvent, ContentXElement element) | |
override void | Update (float deltaTime) |
override bool | IsFinished (ref string goToLabel) |
Has the action finished. More... | |
override void | Reset () |
Public Member Functions inherited from Barotrauma.EventAction | |
EventAction (ScriptedEvent parentEvent, ContentXElement element) | |
virtual bool | SetGoToTarget (string goTo) |
virtual bool | CanBeFinished () |
virtual IEnumerable< EventAction > | GetSubActions () |
virtual string | ToDebugString () |
Rich test to display in debugdraw More... | |
Properties | |
SegmentActionType | Type [get, set] |
Identifier | Identifier [get, set] |
Identifier | ObjectiveTag [get, set] |
bool | CanBeCompleted [get, set] |
Identifier | ParentObjectiveId [get, set] |
bool | AutoPlayVideo [get, set] |
Identifier | TextTag [get, set] |
string | VideoFile [get, set] |
int | Width [get, set] |
int | Height [get, set] |
Identifier | TargetTag [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 3 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.
Enumerator | |
---|---|
Trigger | |
Add | |
AddIfNotFound | |
Complete | |
CompleteAndRemove | |
Remove | |
Fail | |
FailAndRemove |
Definition at line 5 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.
Barotrauma.EventObjectiveAction.EventObjectiveAction | ( | ScriptedEvent | parentEvent, |
ContentXElement | element | ||
) |
Definition at line 42 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.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.
|
virtual |
Implements Barotrauma.EventAction.
|
virtual |
Reimplemented from Barotrauma.EventAction.
Definition at line 64 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.
|
getset |
Definition at line 23 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.
|
getset |
Definition at line 17 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.
|
getset |
Definition at line 35 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.
|
getset |
Definition at line 11 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.
|
getset |
Definition at line 14 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.
|
getset |
Definition at line 20 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.
|
getset |
Definition at line 38 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.
|
getset |
Definition at line 26 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.
|
getset |
Definition at line 8 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.
|
getset |
Definition at line 29 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.
|
getset |
Definition at line 32 of file BarotraumaShared/SharedSource/Events/EventActions/EventObjectiveAction.cs.