Barotrauma Client Doc
|
Public Types | |
enum class | DialogTypes { Regular , Small , Mission } |
Public Member Functions | |
ConversationAction (ScriptedEvent parentEvent, ContentXElement element) | |
LocalizedString | GetDisplayText () |
override IEnumerable< EventAction > | GetSubActions () |
override bool | IsFinished (ref string goTo) |
Has the action finished. More... | |
override void | Reset () |
override bool | SetGoToTarget (string goTo) |
int[] | GetEndingOptions () |
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 | CanBeFinished () |
Static Public Member Functions | |
static void | CreateDialog (LocalizedString text, Character speaker, IEnumerable< string > options, int[] closingOptions, string eventSprite, UInt16 actionId, bool fadeToBlack, DialogTypes dialogType, bool continueConversation=false) |
static void | SelectOption (ushort actionId, int option) |
Static Public Member Functions inherited from Barotrauma.EventAction | |
static EventAction | Instantiate (ScriptedEvent scriptedEvent, ContentXElement element) |
Public Attributes | |
readonly UInt16 | Identifier |
Public Attributes inherited from Barotrauma.EventAction | |
readonly ScriptedEvent | ParentEvent |
Properties | |
string | Text [get, set] |
int | DefaultOption [get, set] |
Identifier | SpeakerTag [get, set] |
Identifier | TargetTag [get, set] |
bool | WaitForInteraction [get, set] |
Identifier | InvokerTag [get, set] |
bool | FadeToBlack [get, set] |
bool | EndEventIfInterrupted [get, set] |
string | EventSprite [get, set] |
DialogTypes | DialogType [get, set] |
bool | ContinueConversation [get, set] |
bool | ContinueAutomatically [get, set] |
bool | IgnoreInterruptDistance [get, set] |
Character | Speaker [get] |
List< SubactionGroup > | Options [get] |
SubactionGroup | Interrupted [get] |
static bool | IsDialogOpen [get] |
static bool | FadeScreenToBlack [get] |
Additional Inherited Members | |
Protected Member Functions inherited from Barotrauma.EventAction | |
void | ApplyTagsToHulls (Entity entity, Identifier hullTag, Identifier linkedHullTag) |
Definition at line 11 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
strong |
Enumerator | |
---|---|
Regular | |
Small | |
Mission |
Definition at line 14 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
Barotrauma.ConversationAction.ConversationAction | ( | ScriptedEvent | parentEvent, |
ContentXElement | element | ||
) |
Definition at line 94 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
static |
Definition at line 48 of file BarotraumaClient/ClientSource/Events/EventActions/ConversationAction.cs.
LocalizedString Barotrauma.ConversationAction.GetDisplayText | ( | ) |
Definition at line 124 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
int [] Barotrauma.ConversationAction.GetEndingOptions | ( | ) |
Definition at line 240 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
virtual |
Reimplemented from Barotrauma.EventAction.
Definition at line 139 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.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 144 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
virtual |
Implements Barotrauma.EventAction.
Definition at line 196 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
static |
Definition at line 296 of file BarotraumaClient/ClientSource/Events/EventActions/ConversationAction.cs.
|
virtual |
Reimplemented from Barotrauma.EventAction.
Definition at line 206 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
virtual |
Rich test to display in debugdraw
Reimplemented from Barotrauma.EventAction.
Definition at line 431 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
virtual |
Reimplemented from Barotrauma.EventAction.
Definition at line 247 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
readonly UInt16 Barotrauma.ConversationAction.Identifier |
Definition at line 83 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
getset |
Definition at line 63 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
getset |
Definition at line 60 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
getset |
Definition at line 33 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
getset |
Definition at line 57 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
getset |
Definition at line 51 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
getset |
Definition at line 54 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
staticget |
Definition at line 28 of file BarotraumaClient/ClientSource/Events/EventActions/ConversationAction.cs.
|
getset |
Definition at line 48 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
getset |
Definition at line 66 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
get |
Definition at line 78 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
getset |
Definition at line 45 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
staticget |
Definition at line 19 of file BarotraumaClient/ClientSource/Events/EventActions/ConversationAction.cs.
|
get |
Definition at line 76 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
get |
Definition at line 68 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
getset |
Definition at line 36 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
getset |
Definition at line 39 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
getset |
Definition at line 30 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.
|
getset |
Definition at line 42 of file BarotraumaShared/SharedSource/Events/EventActions/ConversationAction.cs.