|
PC Stable Documentation
|
|

Private 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) |
| protected void | Reset () |
| protected void | ProcureLiquid (float amountBase, int liquidType=LIQUID_CLEANWATER) |
| protected void | UpdateIsUnderRoof () |
| float | GetBaseLiquidAmount () |
| override this to get different amount per ProcureLiquid cycle | |
| bool | IsActive () |
| void | SetActive (bool run) |
Private Attributes | |
| protected ItemBase | m_ProcuringItem |
| protected RainProcurementHandler | m_Handler |
| protected bool | m_IsUnderRoof |
| protected bool | m_IsActive |
| protected int | m_UpdateCounter |
| protected const int | UPDATE_ROOFCHECK_COUNT = 3 |
|
inlineprivate |
References GetGame(), m_Handler, m_ProcuringItem, and Reset().
|
inlineprivate |
override this to get different amount per ProcureLiquid cycle
References GameConstants::LIQUID_RAIN_AMOUNT_COEF_BASE.
Referenced by ProcureLiquid().
|
inlineprivate |
References m_IsActive.
Referenced by StopRainProcurement().
References m_UpdateCounter, ProcureLiquid(), UPDATE_ROOFCHECK_COUNT, and UpdateIsUnderRoof().
|
inlineprivate |
References GetBaseLiquidAmount(), m_IsUnderRoof, and m_ProcuringItem.
Referenced by OnUpdate().
|
inlineprivate |
References m_UpdateCounter.
Referenced by RainProcurementComponentBase(), SetActive(), and StartRainProcurement().
|
inlineprivate |
References m_IsActive, and Reset().
|
inlineprivate |
Called on server to queue rain procurement (on next cycle end)
References m_Handler, RainProcurementHandler::QueueStart(), Reset(), and SetActive().
Referenced by Barrel_ColorBase::Open(), and Barrel_ColorBase::OpenLoad().
|
inlineprivate |
Called on server to queue rain procurement removal (on next cycle end)
References IsActive(), m_Handler, RainProcurementHandler::QueueStop(), and SetActive().
Referenced by Barrel_ColorBase::Close(), and Barrel_ColorBase::CloseLoad().
|
inlineprivate |
References m_IsUnderRoof, and m_ProcuringItem.
Referenced by OnUpdate().
|
private |
Referenced by RainProcurementComponentBase(), StartRainProcurement(), and StopRainProcurement().
|
private |
Referenced by IsActive(), and SetActive().
|
private |
Referenced by ProcureLiquid(), and UpdateIsUnderRoof().
|
private |
Referenced by ProcureLiquid(), RainProcurementComponentBase(), and UpdateIsUnderRoof().
|
private |
Referenced by OnUpdate(), and Reset().
|
private |
Referenced by OnUpdate().