Barotrauma Client Doc
|
Public Types | |
enum class | OrderType { Current , Previous } |
enum class | OrderTargetType { Entity , Position , WallSection } |
Public Member Functions | |||
Order (OrderPrefab prefab, Entity targetEntity, ItemComponent targetItem, Character orderGiver=null, bool isAutonomous=false) | |||
Constructor for orders with the target type OrderTargetType.Entity More... | |||
Order (OrderPrefab prefab, Identifier option, Entity targetEntity, ItemComponent targetItem, Character orderGiver=null, bool isAutonomous=false) | |||
Constructor for orders with the target type OrderTargetType.Entity More... | |||
Order (OrderPrefab prefab, OrderTarget target, Character orderGiver=null) | |||
Constructor for orders with the target type OrderTargetType.Position More... | |||
Order (OrderPrefab prefab, Identifier option, OrderTarget target, Character orderGiver=null) | |||
Constructor for orders with the target type OrderTargetType.Position More... | |||
Order (OrderPrefab prefab, Structure wall, int? sectionIndex, Character orderGiver=null) | |||
Constructor for orders with the target type OrderTargetType.WallSection More... | |||
Order (OrderPrefab prefab, Identifier option, Structure wall, int? sectionIndex, Character orderGiver=null) | |||
Constructor for orders with the target type OrderTargetType.WallSection More... | |||
Order | WithOption (Identifier option) | ||
Order | WithManualPriority (int newPriority) | ||
Order | WithOrderGiver (Character orderGiver) | ||
Order | WithObjective (AIObjective objective) | ||
Order | WithTargetEntity (Entity entity) | ||
Order | WithTargetSpatialEntity (ISpatialEntity spatialEntity) | ||
Order | WithItemComponent (Item item, ItemComponent component=null) | ||
Order | WithWallSection (Structure wall, int? sectionIndex) | ||
Order | WithType (OrderType type) | ||
Order | WithTargetPosition (OrderTarget targetPosition) | ||
Order | Clone () | ||
Order | GetDismissal () | ||
bool | HasAppropriateJob (Character character) | ||
bool | HasPreferredJob (Character character) | ||
string | GetChatMessage (string targetCharacterName, string targetRoomName, bool givingOrderToSelf, Identifier orderOption=default, bool isNewOrder=true) | ||
ItemComponent | GetTargetItemComponent (Item item) | ||
Get the target item component based on the target item type More... | |||
bool | TryGetTargetItemComponent (Item item, out ItemComponent firstMatchingComponent) | ||
List< Item > | GetMatchingItems (Submarine submarine, bool mustBelongToPlayerSub, CharacterTeamType? requiredTeam=null, Character interactableFor=null) | ||
| |||
List< Item > | GetMatchingItems (bool mustBelongToPlayerSub, Character interactableFor=null) | ||
| |||
LocalizedString | GetOptionName (string id) | ||
LocalizedString | GetOptionName (Identifier id) | ||
LocalizedString | GetOptionName (int index) | ||
bool | MatchesOrder (Identifier orderIdentifier, Identifier orderOption) | ||
bool | MatchesOrder (Order order) | ||
bool | MatchesDismissedOrder (Identifier dismissOrderOption) | ||
ImmutableArray< Identifier > | GetTargetItems (Identifier option=default) | ||
override string | ToString () | ||
Static Public Member Functions | |
static Identifier | GetDismissOrderOption (Order order) |
Used to create the order option for the Dismiss order to know which order it targets More... | |
Public Attributes | |
readonly OrderPrefab | Prefab |
readonly Identifier | Option |
readonly int | ManualPriority |
readonly OrderType | Type |
readonly AIObjective | Objective |
readonly Entity | TargetEntity |
readonly ItemComponent | TargetItemComponent |
readonly Controller | ConnectedController |
readonly Character | OrderGiver |
readonly OrderTarget | TargetPosition |
readonly OrderTargetType | TargetType |
readonly? int | WallSectionIndex |
readonly bool | UseController |
Properties | |
bool | IsCurrentOrder [get] |
bool | IsDismissal [get] |
ISpatialEntity??? | TargetSpatialEntity [get] |
Note this property doesn't return the follow target of the Follow objective, as expected! More... | |
Hull | TargetHull [get] |
LocalizedString | Name [get] |
LocalizedString | ContextualName [get] |
Identifier | Identifier [get] |
Type | ItemComponentType [get] |
bool | CanTypeBeSubclass [get] |
ref readonly ImmutableArray< Identifier > | ControllerTags [get] |
ref readonly ImmutableArray< Identifier > | TargetItems [get] |
ref readonly ImmutableArray< Identifier > | RequireItems [get] |
ref readonly ImmutableArray< Identifier > | Options [get] |
ref readonly ImmutableArray< Identifier > | HiddenOptions [get] |
ref readonly ImmutableArray< Identifier > | AllOptions [get] |
Sprite | SymbolSprite [get] |
Color | Color [get] |
bool | TargetAllCharacters [get] |
ref readonly ImmutableArray< Identifier > | AppropriateJobs [get] |
float | FadeOutTime [get] |
bool | MustSetTarget [get] |
Identifier | AppropriateSkill [get] |
OrderCategory? | Category [get] |
bool | MustManuallyAssign [get] |
bool | IsIgnoreOrder [get] |
bool | DrawIconWhenContained [get] |
bool | Hidden [get] |
bool | IgnoreAtOutpost [get] |
bool | IsReport [get] |
bool | AutoDismiss [get] |
int | AssignmentPriority [get] |
bool | ColoredWhenControllingGiver [get] |
bool | DisplayGiverInTooltip [get] |
|
strong |
|
strong |
Barotrauma.Order.Order | ( | OrderPrefab | prefab, |
Entity | targetEntity, | ||
ItemComponent | targetItem, | ||
Character | orderGiver = null , |
||
bool | isAutonomous = false |
||
) |
Constructor for orders with the target type OrderTargetType.Entity
Barotrauma.Order.Order | ( | OrderPrefab | prefab, |
Identifier | option, | ||
Entity | targetEntity, | ||
ItemComponent | targetItem, | ||
Character | orderGiver = null , |
||
bool | isAutonomous = false |
||
) |
Constructor for orders with the target type OrderTargetType.Entity
Barotrauma.Order.Order | ( | OrderPrefab | prefab, |
OrderTarget | target, | ||
Character | orderGiver = null |
||
) |
Constructor for orders with the target type OrderTargetType.Position
Barotrauma.Order.Order | ( | OrderPrefab | prefab, |
Identifier | option, | ||
OrderTarget | target, | ||
Character | orderGiver = null |
||
) |
Constructor for orders with the target type OrderTargetType.Position
Barotrauma.Order.Order | ( | OrderPrefab | prefab, |
Structure | wall, | ||
int? | sectionIndex, | ||
Character | orderGiver = null |
||
) |
Constructor for orders with the target type OrderTargetType.WallSection
Barotrauma.Order.Order | ( | OrderPrefab | prefab, |
Identifier | option, | ||
Structure | wall, | ||
int? | sectionIndex, | ||
Character | orderGiver = null |
||
) |
Constructor for orders with the target type OrderTargetType.WallSection
string Barotrauma.Order.GetChatMessage | ( | string | targetCharacterName, |
string | targetRoomName, | ||
bool | givingOrderToSelf, | ||
Identifier | orderOption = default , |
||
bool | isNewOrder = true |
||
) |
|
static |
List<Item> Barotrauma.Order.GetMatchingItems | ( | Submarine | submarine, |
bool | mustBelongToPlayerSub, | ||
CharacterTeamType? | requiredTeam = null , |
||
Character | interactableFor = null |
||
) |
LocalizedString Barotrauma.Order.GetOptionName | ( | Identifier | id | ) |
LocalizedString Barotrauma.Order.GetOptionName | ( | int | index | ) |
LocalizedString Barotrauma.Order.GetOptionName | ( | string | id | ) |
ItemComponent Barotrauma.Order.GetTargetItemComponent | ( | Item | item | ) |
ImmutableArray<Identifier> Barotrauma.Order.GetTargetItems | ( | Identifier | option = default | ) |
bool Barotrauma.Order.HasAppropriateJob | ( | Character | character | ) |
bool Barotrauma.Order.HasPreferredJob | ( | Character | character | ) |
bool Barotrauma.Order.MatchesDismissedOrder | ( | Identifier | dismissOrderOption | ) |
bool Barotrauma.Order.MatchesOrder | ( | Identifier | orderIdentifier, |
Identifier | orderOption | ||
) |
bool Barotrauma.Order.MatchesOrder | ( | Order | order | ) |
bool Barotrauma.Order.TryGetTargetItemComponent | ( | Item | item, |
out ItemComponent | firstMatchingComponent | ||
) |
Order Barotrauma.Order.WithItemComponent | ( | Item | item, |
ItemComponent | component = null |
||
) |
Order Barotrauma.Order.WithManualPriority | ( | int | newPriority | ) |
Order Barotrauma.Order.WithObjective | ( | AIObjective | objective | ) |
Order Barotrauma.Order.WithOption | ( | Identifier | option | ) |
Order Barotrauma.Order.WithTargetPosition | ( | OrderTarget | targetPosition | ) |
Order Barotrauma.Order.WithTargetSpatialEntity | ( | ISpatialEntity | spatialEntity | ) |
readonly Controller Barotrauma.Order.ConnectedController |
readonly AIObjective Barotrauma.Order.Objective |
readonly Identifier Barotrauma.Order.Option |
readonly OrderPrefab Barotrauma.Order.Prefab |
readonly ItemComponent Barotrauma.Order.TargetItemComponent |
readonly OrderTarget Barotrauma.Order.TargetPosition |
readonly OrderTargetType Barotrauma.Order.TargetType |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |