DayZ 1.24
|
Private Member Functions | |
void | CAContinuousFillPowerGenerator (float quantity_filled_per_second, int liquid_type) |
override void | Setup (ActionData action_data) |
override int | Execute (ActionData action_data) |
override void | CalcAndSetQuantity (ActionData action_data) |
Private Member Functions inherited from CAContinuousFill | |
void | CAContinuousFill (float quantity_filled_per_second, int liquid_type) |
override void | Setup (ActionData action_data) |
override int | Execute (ActionData action_data) |
override int | Cancel (ActionData action_data) |
override int | Interrupt (ActionData action_data) |
override float | GetProgress () |
void | CalcAndSetQuantity (ActionData action_data) |
Additional Inherited Members | |
Private Attributes inherited from CAContinuousFill | |
float | m_TargetUnits |
float | m_SpentQuantity |
float | m_SpentQuantity_total |
float | m_ItemQuantity |
float | m_AdjustedQuantityFilledPerSecond |
float | m_QuantityFilledPerSecond |
ref Param1< float > | m_SpentUnits |
float | m_TimeElpased |
float | m_DefaultTimeStep = 0.25 |
int | m_liquid_type |
Definition at line 1 of file CAContinuousFillPowerGenerator.c.
|
inlineprivate |
Definition at line 3 of file CAContinuousFillPowerGenerator.c.
References CAContinuousFill::m_liquid_type, and CAContinuousFill::m_QuantityFilledPerSecond.
|
inlineprivate |
Definition at line 59 of file CAContinuousFillPowerGenerator.c.
References GetGame(), CAContinuousFill::m_SpentQuantity, CAContinuousFill::m_SpentQuantity_total, CAContinuousFill::m_SpentUnits, and CABase::SetACData().
|
inlineprivate |
Definition at line 26 of file CAContinuousFillPowerGenerator.c.
References CalcAndSetQuantity(), CAContinuousFill::m_AdjustedQuantityFilledPerSecond, CAContinuousFill::m_DefaultTimeStep, CAContinuousFill::m_SpentQuantity, CAContinuousFill::m_SpentQuantity_total, CAContinuousFill::m_TargetUnits, CAContinuousFill::m_TimeElpased, CAContinuousBase::OnCompletePogress(), UA_ERROR, UA_FINISHED, and UA_PROCESSING.
|
inlineprivate |
Definition at line 9 of file CAContinuousFillPowerGenerator.c.
References CABase::m_Action, CAContinuousFill::m_AdjustedQuantityFilledPerSecond, CAContinuousFill::m_ItemQuantity, CAContinuousFill::m_QuantityFilledPerSecond, CAContinuousFill::m_SpentUnits, CAContinuousFill::m_TargetUnits, CAContinuousFill::m_TimeElpased, and Math::Min().