DayZ 1.24
|
Protected Member Functions | |
void | CAContinuousQuantityEdible (float quantity_used_per_second, float time_to_repeat) |
override void | Setup (ActionData action_data) |
override void | CalcAndSetQuantity (ActionData action_data) |
override float | GetProgress () |
Protected Attributes | |
float | m_InitItemQuantity |
float | m_SpentQuantityTotal |
Additional Inherited Members | |
Private Member Functions inherited from CAContinuousQuantityRepeat | |
void | CAContinuousQuantityRepeat (float quantity_used_per_second, float time_to_repeat) |
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 CAContinuousQuantityRepeat | |
float | m_ItemQuantity |
float | m_SpentQuantity |
float | m_ItemMaxQuantity |
float | m_TimeElpased |
float | m_QuantityUsedPerSecond |
float | m_AdjustedQuantityUsedPerSecond |
float | m_DefaultTimeToRepeat |
ref Param1< float > | m_SpentUnits |
Definition at line 1 of file CAContinuousQuantityEdible.c.
|
inlineprotected |
Definition at line 6 of file CAContinuousQuantityEdible.c.
References CAContinuousQuantityRepeat::m_DefaultTimeToRepeat, m_InitItemQuantity, CAContinuousQuantityRepeat::m_QuantityUsedPerSecond, and m_SpentQuantityTotal.
|
inlineprotected |
Definition at line 22 of file CAContinuousQuantityEdible.c.
References GetGame(), CAContinuousQuantityRepeat::m_SpentQuantity, m_SpentQuantityTotal, CAContinuousQuantityRepeat::m_SpentUnits, and CABase::SetACData().
Definition at line 54 of file CAContinuousQuantityEdible.c.
References Math::Clamp(), m_InitItemQuantity, CAContinuousQuantityRepeat::m_SpentQuantity, and m_SpentQuantityTotal.
|
inlineprotected |
Definition at line 14 of file CAContinuousQuantityEdible.c.
References m_InitItemQuantity.
|
protected |
Definition at line 3 of file CAContinuousQuantityEdible.c.
Referenced by CAContinuousQuantityEdible(), GetProgress(), and Setup().
|
protected |
Definition at line 4 of file CAContinuousQuantityEdible.c.
Referenced by CAContinuousQuantityEdible(), CalcAndSetQuantity(), and GetProgress().