Barotrauma Client Doc
Barotrauma.AIObjectivePumpWater Class Reference
Inheritance diagram for Barotrauma.AIObjectivePumpWater:
Barotrauma.AIObjectiveLoop< Pump >

Public Member Functions

 AIObjectivePumpWater (Character character, AIObjectiveManager objectiveManager, Identifier option, float priorityModifier=1)
 
- Public Member Functions inherited from Barotrauma.AIObjectiveLoop< Pump >
bool AddTarget (T target)
 
 AIObjectiveLoop (Character character, AIObjectiveManager objectiveManager, float priorityModifier, Identifier option=default)
 
override void Update (float deltaTime)
 
override void Reset ()
 

Protected Member Functions

override void FindTargets ()
 
override bool Filter (Pump pump)
 
override IEnumerable< PumpGetList ()
 List of all possible items of the specified type. Used for filtering the removed objectives. More...
 
override float TargetEvaluation ()
 
override AIObjective ObjectiveConstructor (Pump pump)
 
override void OnObjectiveCompleted (AIObjective objective, Pump target)
 
- Protected Member Functions inherited from Barotrauma.AIObjectiveLoop< Pump >
override void Act (float deltaTime)
 
override bool CheckObjectiveSpecific ()
 
override float GetPriority ()
 
void UpdateTargets ()
 
virtual void CreateObjectives ()
 
abstract void OnObjectiveCompleted (AIObjective objective, T target)
 
abstract AIObjective ObjectiveConstructor (T target)
 
abstract bool Filter (T target)
 

Properties

override Identifier Identifier = "pump water".ToIdentifier() [get, set]
 
override bool KeepDivingGearOn [get]
 
override bool AllowAutomaticItemUnequipping [get]
 
override bool AllowWhileHandcuffed [get]
 
- Properties inherited from Barotrauma.AIObjectiveLoop< Pump >
HashSet< T > Targets [get]
 
Dictionary< T, AIObjectiveObjectives [get]
 
virtual float TargetUpdateTimeMultiplier [get]
 
virtual float IgnoreListClearInterval [get]
 
HashSet< T > ReportedTargets [get]
 
override bool CanBeCompleted [get]
 
override bool AbandonWhenCannotCompleteSubjectives [get]
 
override bool AllowSubObjectiveSorting [get]
 
override bool AllowWhileHandcuffed [get]
 
virtual bool InverseTargetEvaluation [get]
 
virtual bool ResetWhenClearingIgnoreList [get]
 
virtual bool ForceOrderPriority [get]
 
virtual int MaxTargets [get]
 
override bool IsLoop [get, set]
 

Additional Inherited Members

- Protected Attributes inherited from Barotrauma.AIObjectiveLoop< Pump >
HashSet< T > ignoreList
 
float targetUpdateTimer
 

Detailed Description

Definition at line 10 of file AIObjectivePumpWater.cs.

Constructor & Destructor Documentation

◆ AIObjectivePumpWater()

Barotrauma.AIObjectivePumpWater.AIObjectivePumpWater ( Character  character,
AIObjectiveManager  objectiveManager,
Identifier  option,
float  priorityModifier = 1 
)

Definition at line 19 of file AIObjectivePumpWater.cs.

Member Function Documentation

◆ Filter()

override bool Barotrauma.AIObjectivePumpWater.Filter ( Pump  pump)
protected

Definition at line 28 of file AIObjectivePumpWater.cs.

◆ FindTargets()

override void Barotrauma.AIObjectivePumpWater.FindTargets ( )
protectedvirtual

Reimplemented from Barotrauma.AIObjectiveLoop< Pump >.

Definition at line 22 of file AIObjectivePumpWater.cs.

◆ GetList()

override IEnumerable<Pump> Barotrauma.AIObjectivePumpWater.GetList ( )
protectedvirtual

List of all possible items of the specified type. Used for filtering the removed objectives.

Implements Barotrauma.AIObjectiveLoop< Pump >.

Definition at line 46 of file AIObjectivePumpWater.cs.

◆ ObjectiveConstructor()

override AIObjective Barotrauma.AIObjectivePumpWater.ObjectiveConstructor ( Pump  pump)
protected

◆ OnObjectiveCompleted()

override void Barotrauma.AIObjectivePumpWater.OnObjectiveCompleted ( AIObjective  objective,
Pump  target 
)
protected

◆ TargetEvaluation()

override float Barotrauma.AIObjectivePumpWater.TargetEvaluation ( )
protectedvirtual

Implements Barotrauma.AIObjectiveLoop< Pump >.

Definition at line 65 of file AIObjectivePumpWater.cs.

Property Documentation

◆ AllowAutomaticItemUnequipping

override bool Barotrauma.AIObjectivePumpWater.AllowAutomaticItemUnequipping
get

Definition at line 14 of file AIObjectivePumpWater.cs.

◆ AllowWhileHandcuffed

override bool Barotrauma.AIObjectivePumpWater.AllowWhileHandcuffed
get

Definition at line 15 of file AIObjectivePumpWater.cs.

◆ Identifier

override Identifier Barotrauma.AIObjectivePumpWater.Identifier = "pump water".ToIdentifier()
getset

Definition at line 12 of file AIObjectivePumpWater.cs.

◆ KeepDivingGearOn

override bool Barotrauma.AIObjectivePumpWater.KeepDivingGearOn
get

Definition at line 13 of file AIObjectivePumpWater.cs.