Barotrauma Client Doc
|
Classes | |
class | SubactionGroup |
Public Member Functions | |
EventAction (ScriptedEvent parentEvent, ContentXElement element) | |
abstract bool | IsFinished (ref string goToLabel) |
Has the action finished. More... | |
virtual bool | SetGoToTarget (string goTo) |
abstract void | Reset () |
virtual bool | CanBeFinished () |
virtual IEnumerable< EventAction > | GetSubActions () |
virtual void | Update (float deltaTime) |
virtual string | ToDebugString () |
Rich test to display in debugdraw More... | |
Static Public Member Functions | |
static EventAction | Instantiate (ScriptedEvent scriptedEvent, ContentXElement element) |
Public Attributes | |
readonly ScriptedEvent | ParentEvent |
Protected Member Functions | |
void | ApplyTagsToHulls (Entity entity, Identifier hullTag, Identifier linkedHullTag) |
Definition at line 8 of file EventAction.cs.
Barotrauma.EventAction.EventAction | ( | ScriptedEvent | parentEvent, |
ContentXElement | element | ||
) |
Definition at line 104 of file EventAction.cs.
|
protected |
Definition at line 177 of file EventAction.cs.
|
virtual |
Definition at line 124 of file EventAction.cs.
|
virtual |
Reimplemented in Barotrauma.ConversationAction, and Barotrauma.BinaryOptionAction.
Definition at line 129 of file EventAction.cs.
|
static |
Definition at line 136 of file EventAction.cs.
|
pure virtual |
Has the action finished.
goToLabel | If null or empty, the event moves to the next action. Otherwise it moves to the specified label. |
Implemented in Barotrauma.TutorialCompleteAction, Barotrauma.OnRoundEndAction, Barotrauma.MessageBoxAction, Barotrauma.EventObjectiveAction, Barotrauma.ClearTagAction, Barotrauma.WaitForItemUsedAction, Barotrauma.WaitForItemFabricatedAction, Barotrauma.WaitAction, Barotrauma.UnlockPathAction, Barotrauma.TriggerEventAction, Barotrauma.TriggerAction, Barotrauma.TagAction, Barotrauma.StatusEffectAction, Barotrauma.SpawnAction, Barotrauma.SetTraitorEventStateAction, Barotrauma.SetPriceMultiplierAction, Barotrauma.SetDataAction, Barotrauma.ReputationAction, Barotrauma.RemoveItemAction, Barotrauma.NPCWaitAction, Barotrauma.NPCOperateItemAction, Barotrauma.NPCFollowAction, Barotrauma.NPCChangeTeamAction, Barotrauma.MoneyAction, Barotrauma.ModifyLocationAction, Barotrauma.MissionStateAction, Barotrauma.MissionAction, Barotrauma.Label, Barotrauma.GoTo, Barotrauma.GodModeAction, Barotrauma.GiveSkillExpAction, Barotrauma.GiveExpAction, Barotrauma.FireAction, Barotrauma.EventLogAction, Barotrauma.ConversationAction, Barotrauma.CombatAction, Barotrauma.BinaryOptionAction, and Barotrauma.AfflictionAction.
|
pure virtual |
Implemented in Barotrauma.WaitForItemUsedAction, Barotrauma.WaitForItemFabricatedAction, Barotrauma.WaitAction, Barotrauma.UnlockPathAction, Barotrauma.TutorialCompleteAction, Barotrauma.TriggerEventAction, Barotrauma.TriggerAction, Barotrauma.TagAction, Barotrauma.StatusEffectAction, Barotrauma.SpawnAction, Barotrauma.SetTraitorEventStateAction, Barotrauma.SetPriceMultiplierAction, Barotrauma.SetDataAction, Barotrauma.ReputationAction, Barotrauma.RemoveItemAction, Barotrauma.OnRoundEndAction, Barotrauma.NPCWaitAction, Barotrauma.NPCOperateItemAction, Barotrauma.NPCFollowAction, Barotrauma.NPCChangeTeamAction, Barotrauma.MoneyAction, Barotrauma.ModifyLocationAction, Barotrauma.MissionStateAction, Barotrauma.MissionAction, Barotrauma.MessageBoxAction, Barotrauma.Label, Barotrauma.GoTo, Barotrauma.GodModeAction, Barotrauma.GiveSkillExpAction, Barotrauma.GiveExpAction, Barotrauma.FireAction, Barotrauma.EventObjectiveAction, Barotrauma.EventLogAction, Barotrauma.ConversationAction, Barotrauma.CombatAction, Barotrauma.ClearTagAction, Barotrauma.BinaryOptionAction, and Barotrauma.AfflictionAction.
|
virtual |
Reimplemented in Barotrauma.Label, Barotrauma.ConversationAction, and Barotrauma.BinaryOptionAction.
Definition at line 117 of file EventAction.cs.
|
virtual |
Rich test to display in debugdraw
Reimplemented in Barotrauma.WaitForItemUsedAction, Barotrauma.WaitForItemFabricatedAction, Barotrauma.WaitAction, Barotrauma.UnlockPathAction, Barotrauma.TriggerEventAction, Barotrauma.TriggerAction, Barotrauma.TagAction, Barotrauma.StatusEffectAction, Barotrauma.SpawnAction, Barotrauma.SkillCheckAction, Barotrauma.SetTraitorEventStateAction, Barotrauma.SetPriceMultiplierAction, Barotrauma.SetDataAction, Barotrauma.RNGAction, Barotrauma.ReputationAction, Barotrauma.OnRoundEndAction, Barotrauma.NPCWaitAction, Barotrauma.NPCOperateItemAction, Barotrauma.NPCFollowAction, Barotrauma.NPCChangeTeamAction, Barotrauma.MoneyAction, Barotrauma.ModifyLocationAction, Barotrauma.MissionStateAction, Barotrauma.MissionAction, Barotrauma.MessageBoxAction, Barotrauma.Label, Barotrauma.GoTo, Barotrauma.GodModeAction, Barotrauma.GiveSkillExpAction, Barotrauma.GiveExpAction, Barotrauma.FireAction, Barotrauma.EventLogAction, Barotrauma.CountTargetsAction, Barotrauma.ConversationAction, Barotrauma.CombatAction, Barotrauma.ClearTagAction, Barotrauma.CheckVisibilityAction, Barotrauma.CheckTraitorVoteAction, Barotrauma.CheckTraitorEventStateAction, Barotrauma.CheckReputationAction, Barotrauma.CheckMoneyAction, Barotrauma.CheckItemAction, Barotrauma.CheckDataAction, and Barotrauma.AfflictionAction.
Definition at line 213 of file EventAction.cs.
|
virtual |
Reimplemented in Barotrauma.WaitForItemUsedAction, Barotrauma.WaitAction, Barotrauma.UnlockPathAction, Barotrauma.TutorialCompleteAction, Barotrauma.TriggerEventAction, Barotrauma.TriggerAction, Barotrauma.TagAction, Barotrauma.StatusEffectAction, Barotrauma.SpawnAction, Barotrauma.SetTraitorEventStateAction, Barotrauma.SetPriceMultiplierAction, Barotrauma.SetDataAction, Barotrauma.ReputationAction, Barotrauma.RemoveItemAction, Barotrauma.OnRoundEndAction, Barotrauma.NPCWaitAction, Barotrauma.NPCOperateItemAction, Barotrauma.NPCFollowAction, Barotrauma.NPCChangeTeamAction, Barotrauma.MoneyAction, Barotrauma.ModifyLocationAction, Barotrauma.MissionStateAction, Barotrauma.MissionAction, Barotrauma.MessageBoxAction, Barotrauma.GodModeAction, Barotrauma.GiveSkillExpAction, Barotrauma.GiveExpAction, Barotrauma.FireAction, Barotrauma.EventObjectiveAction, Barotrauma.EventLogAction, Barotrauma.ConversationAction, Barotrauma.CombatAction, Barotrauma.ClearTagAction, Barotrauma.BinaryOptionAction, and Barotrauma.AfflictionAction.
Definition at line 134 of file EventAction.cs.
readonly ScriptedEvent Barotrauma.EventAction.ParentEvent |
Definition at line 102 of file EventAction.cs.