Barotrauma Client Doc
Barotrauma.ShipIssueWorkerItem Class Reference
Inheritance diagram for Barotrauma.ShipIssueWorkerItem:
Barotrauma.ShipIssueWorker Barotrauma.ShipIssueWorkerOperateWeapons Barotrauma.ShipIssueWorkerPowerUpReactor Barotrauma.ShipIssueWorkerSteer

Public Member Functions

 ShipIssueWorkerItem (ShipCommandManager shipCommandManager, Order order)
 
- Public Member Functions inherited from Barotrauma.ShipIssueWorker
 ShipIssueWorker (ShipCommandManager shipCommandManager, Order suggestedOrder)
 
void SetOrder (Character orderedCharacter)
 
void RemoveOrder ()
 
float CalculateImportance (bool isEmergency)
 
bool OrderAttendedTo (float timeSinceLastCheck=0f)
 
abstract void CalculateImportanceSpecific ()
 

Protected Member Functions

override bool IsIssueViable ()
 

Additional Inherited Members

- Public Attributes inherited from Barotrauma.ShipIssueWorker
readonly ShipCommandManager shipCommandManager
 
- Static Public Attributes inherited from Barotrauma.ShipIssueWorker
const float MaxImportance = 100f
 
const float MinImportance = 0f
 
- Properties inherited from Barotrauma.ShipIssueWorker
Order SuggestedOrder [get]
 
float Importance [get, set]
 
float CurrentRedundancy [get, set]
 
Identifier Option [get]
 
Character OrderedCharacter [get, set]
 
Order CurrentOrder [get]
 
ItemComponent TargetItemComponent [get]
 
Item TargetItem [get]
 
bool Active = true [get, protected set]
 
virtual Character CommandingCharacter [get]
 
virtual float TimeSinceLastAttempt [get, set]
 
virtual float RedundantIssueModifier [get]
 
virtual bool StopDuringEmergency [get]
 
virtual bool AllowEasySwitching [get]
 

Detailed Description

Definition at line 5 of file ShipIssueWorkerItem.cs.

Constructor & Destructor Documentation

◆ ShipIssueWorkerItem()

Barotrauma.ShipIssueWorkerItem.ShipIssueWorkerItem ( ShipCommandManager  shipCommandManager,
Order  order 
)

Definition at line 7 of file ShipIssueWorkerItem.cs.

Member Function Documentation

◆ IsIssueViable()

override bool Barotrauma.ShipIssueWorkerItem.IsIssueViable ( )
protectedvirtual

Reimplemented from Barotrauma.ShipIssueWorker.

Definition at line 9 of file ShipIssueWorkerItem.cs.