PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
CAContinuousQuantityLiquidTransfer Class Reference

Private Member Functions

void CAContinuousQuantityLiquidTransfer (float quantity_used_per_second, float time_to_progress, int drain=-1)
 
override void Setup (ActionData action_data)
 
override int Execute (ActionData action_data)
 
override int Cancel (ActionData action_data)
 
override float GetProgress ()
 
void CalcAndSetQuantity (ActionData action_data)
 

Private Attributes

protected int m_TendencyDrain
 
protected float m_ItemQuantity
 
protected float m_SpentQuantity
 
protected float m_SpentQuantity_total
 
protected float m_ItemMaxQuantity
 
protected float m_TimeElpased
 
protected float m_QuantityUsedPerSecond
 
protected float m_AdjustedQuantityUsedPerSecond
 
protected float m_DefaultTimeStep
 
protected ref Param1< floatm_SpentUnits
 

Constructor & Destructor Documentation

◆ CAContinuousQuantityLiquidTransfer()

void CAContinuousQuantityLiquidTransfer ( float  quantity_used_per_second,
float  time_to_progress,
int  drain = -1 
)
inlineprivate

Member Function Documentation

◆ CalcAndSetQuantity()

void CalcAndSetQuantity ( ActionData  action_data)
inlineprivate

◆ Cancel()

override int Cancel ( ActionData  action_data)
inlineprivate

◆ Execute()

◆ GetProgress()

override float GetProgress ( )
inlineprivate

◆ Setup()

Field Documentation

◆ m_AdjustedQuantityUsedPerSecond

protected float m_AdjustedQuantityUsedPerSecond
private

Referenced by Execute().

◆ m_DefaultTimeStep

protected float m_DefaultTimeStep
private

◆ m_ItemMaxQuantity

protected float m_ItemMaxQuantity
private

Referenced by GetProgress(), and Setup().

◆ m_ItemQuantity

protected float m_ItemQuantity
private

Referenced by Execute(), and Setup().

◆ m_QuantityUsedPerSecond

protected float m_QuantityUsedPerSecond
private

◆ m_SpentQuantity

protected float m_SpentQuantity
private

Referenced by CalcAndSetQuantity(), Execute(), and Setup().

◆ m_SpentQuantity_total

protected float m_SpentQuantity_total
private

◆ m_SpentUnits

protected ref Param1<float> m_SpentUnits
private

Referenced by CalcAndSetQuantity(), and Setup().

◆ m_TendencyDrain

protected int m_TendencyDrain
private

◆ m_TimeElpased

protected float m_TimeElpased
private

Referenced by Execute(), and Setup().


The documentation for this class was generated from the following file: