DayZ 1.24
|
Protected Member Functions | |
void | CAContinuousWaterPlant (float quantity_used_per_second) |
override void | Setup (ActionData action_data) |
override int | Execute (ActionData action_data) |
override float | GetProgress () |
Protected Attributes | |
float | m_PlantThirstyness |
float | m_TimeToComplete |
Additional Inherited Members | |
Private Member Functions inherited from CAContinuousQuantity | |
void | CAContinuousQuantity (float quantity_used_per_second) |
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 inherited from CAContinuousQuantity | |
float | m_ItemQuantity |
float | m_SpentQuantity |
float | m_ItemMaxQuantity |
float | m_QuantityUsedPerSecond |
float | m_AdjustedQuantityUsedPerSecond |
ref Param1< float > | m_SpentUnits |
Definition at line 1 of file CAContinuousWaterPlant.c.
|
inlineprotected |
Definition at line 6 of file CAContinuousWaterPlant.c.
References CAContinuousQuantity::m_QuantityUsedPerSecond.
|
inlineprotected |
Definition at line 30 of file CAContinuousWaterPlant.c.
References CalcAndSetQuantity(), Class::CastTo(), CABase::m_Action, CAContinuousQuantity::m_AdjustedQuantityUsedPerSecond, CAContinuousQuantity::m_ItemQuantity, m_PlantThirstyness, CAContinuousQuantity::m_QuantityUsedPerSecond, CAContinuousQuantity::m_SpentQuantity, CAContinuousBase::OnCompletePogress(), UA_ERROR, UA_FINISHED, and UA_PROCESSING.
Definition at line 62 of file CAContinuousWaterPlant.c.
References CAContinuousQuantity::m_QuantityUsedPerSecond, CAContinuousQuantity::m_SpentQuantity, and m_TimeToComplete.
|
inlineprotected |
Definition at line 11 of file CAContinuousWaterPlant.c.
References Class::CastTo(), CAContinuousQuantity::m_ItemQuantity, m_PlantThirstyness, CAContinuousQuantity::m_QuantityUsedPerSecond, CAContinuousQuantity::m_SpentQuantity, CAContinuousQuantity::m_SpentUnits, m_TimeToComplete, and Math::Min().
|
protected |
Definition at line 3 of file CAContinuousWaterPlant.c.
|
protected |
Definition at line 4 of file CAContinuousWaterPlant.c.
Referenced by GetProgress(), and Setup().