DayZ 1.24
|
Protected Member Functions | |
void | CAContinuousWaterSlot (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 |
float | m_SpentQuantityTotal |
float | m_StartQuantity |
Slot | m_Slot |
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 CAContinuousWaterSlot.c.
Definition at line 9 of file CAContinuousWaterSlot.c.
References CAContinuousQuantity::m_QuantityUsedPerSecond.
|
inlineprotected |
Definition at line 53 of file CAContinuousWaterSlot.c.
References CalcAndSetQuantity(), Class::CastTo(), CABase::m_Action, CAContinuousQuantity::m_ItemMaxQuantity, CAContinuousQuantity::m_ItemQuantity, CAContinuousQuantity::m_QuantityUsedPerSecond, m_Slot, CAContinuousQuantity::m_SpentQuantity, m_SpentQuantityTotal, CAContinuousBase::OnCompletePogress(), UA_ERROR, UA_FINISHED, and UA_PROCESSING.
Definition at line 90 of file CAContinuousWaterSlot.c.
References CAContinuousQuantity::m_ItemQuantity, m_SpentQuantityTotal, and m_StartQuantity.
|
inlineprotected |
Definition at line 14 of file CAContinuousWaterSlot.c.
References Class::CastTo(), CAContinuousQuantity::m_ItemQuantity, m_PlantThirstyness, CAContinuousQuantity::m_QuantityUsedPerSecond, m_Slot, CAContinuousQuantity::m_SpentQuantity, CAContinuousQuantity::m_SpentUnits, m_StartQuantity, m_TimeToComplete, and Math::Min().
|
protected |
Definition at line 3 of file CAContinuousWaterSlot.c.
Referenced by Setup().
|
protected |
Definition at line 7 of file CAContinuousWaterSlot.c.
|
protected |
Definition at line 5 of file CAContinuousWaterSlot.c.
Referenced by Execute(), and GetProgress().
|
protected |
Definition at line 6 of file CAContinuousWaterSlot.c.
Referenced by GetProgress(), and Setup().
|
protected |
Definition at line 4 of file CAContinuousWaterSlot.c.
Referenced by Setup().