DayZ 1.24
|
Protected Member Functions | |
void | RainProcurementComponentBase (ItemBase procuringItem) |
void | StartRainProcurement () |
Called on server to queue rain procurement (on next cycle end) | |
void | StopRainProcurement () |
Called on server to queue rain procurement removal (on next cycle end) | |
void | OnUpdate (float deltaTime, float amount) |
void | Reset () |
void | ProcureLiquid (float amountBase, int liquidType=LIQUID_WATER) |
void | UpdateIsUnderRoof () |
float | GetBaseLiquidAmount () |
override this to get different amount per ProcureLiquid cycle | |
bool | IsActive () |
void | SetActive (bool run) |
Protected Attributes | |
ItemBase | m_ProcuringItem |
RainProcurementHandler | m_Handler |
bool | m_IsUnderRoof |
bool | m_IsActive |
int | m_UpdateCounter |
const int | UPDATE_ROOFCHECK_COUNT = 3 |
Definition at line 1 of file RainProcurementComponent.c.
|
inlineprotected |
Definition at line 10 of file RainProcurementComponent.c.
References GetGame(), m_Handler, m_ProcuringItem, and Reset().
|
inlineprotected |
override this to get different amount per ProcureLiquid cycle
Definition at line 70 of file RainProcurementComponent.c.
References GameConstants::LIQUID_RAIN_AMOUNT_COEF_BASE.
Referenced by ProcureLiquid().
|
inlineprotected |
Definition at line 75 of file RainProcurementComponent.c.
References m_IsActive.
Referenced by StopRainProcurement().
Definition at line 39 of file RainProcurementComponent.c.
References m_UpdateCounter, ProcureLiquid(), UPDATE_ROOFCHECK_COUNT, and UpdateIsUnderRoof().
|
inlineprotected |
Definition at line 55 of file RainProcurementComponent.c.
References Liquid::FillContainerEnviro(), GetBaseLiquidAmount(), m_IsUnderRoof, and m_ProcuringItem.
Referenced by OnUpdate().
|
inlineprotected |
Definition at line 50 of file RainProcurementComponent.c.
References m_UpdateCounter.
Referenced by RainProcurementComponentBase(), SetActive(), and StartRainProcurement().
Definition at line 80 of file RainProcurementComponent.c.
References m_IsActive, and Reset().
|
inlineprotected |
Called on server to queue rain procurement (on next cycle end)
Definition at line 18 of file RainProcurementComponent.c.
References m_Handler, RainProcurementHandler::QueueStart(), Reset(), and SetActive().
|
inlineprotected |
Called on server to queue rain procurement removal (on next cycle end)
Definition at line 28 of file RainProcurementComponent.c.
References IsActive(), m_Handler, RainProcurementHandler::QueueStop(), and SetActive().
|
inlineprotected |
Definition at line 64 of file RainProcurementComponent.c.
References m_IsUnderRoof, and m_ProcuringItem.
Referenced by OnUpdate().
|
protected |
Definition at line 4 of file RainProcurementComponent.c.
Referenced by RainProcurementComponentBase(), StartRainProcurement(), and StopRainProcurement().
|
protected |
Definition at line 6 of file RainProcurementComponent.c.
Referenced by IsActive(), and SetActive().
|
protected |
Definition at line 5 of file RainProcurementComponent.c.
Referenced by ProcureLiquid(), and UpdateIsUnderRoof().
|
protected |
Definition at line 3 of file RainProcurementComponent.c.
Referenced by ProcureLiquid(), RainProcurementComponentBase(), and UpdateIsUnderRoof().
|
protected |
Definition at line 7 of file RainProcurementComponent.c.
Referenced by OnUpdate(), and Reset().
Definition at line 8 of file RainProcurementComponent.c.
Referenced by OnUpdate().