![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Protected Member Functions | |
| void | RainProcurementHandler (MissionBaseWorld mission) |
| void | CheckUpdating () |
| void | Cleanup () |
| float | DetermineAmountCoef () |
| scalable on handler level. Now also handles SNOW, total value can exceed 1.0 | |
| float | GetLiquidAmountCoef () |
| void | HandleChangedComponents () |
| bool | ProcessBatch () |
| returns 'true' when all the batches are finished | |
| void | QueueStart (RainProcurementComponentBase component) |
| void | QueueStop (RainProcurementComponentBase component) |
| void | Reset () |
| void | Update (float timeslice) |
Protected Attributes | |
| ref set< RainProcurementComponentBase > | m_ActiveComponents |
| ref set< RainProcurementComponentBase > | m_ChangedQueue |
| ref set< int > | m_CleanupQueue |
| float | m_LiquidAmountCoef |
| MissionBaseWorld | m_Mission |
| int | m_NextToProcessIdx |
| bool | m_ProcessComponents |
| bool | m_ProcessingFinished |
| bool | m_Update |
| float | m_UpdateTimer |
| const int | UPDATE_BATCH_SIZE = 20 |
| const int | UPDATE_TIME = 10 |
Definition at line 1 of file rainprocurementhandler.c.
|
inlineprotected |
Definition at line 16 of file rainprocurementhandler.c.
References m_ActiveComponents, m_ChangedQueue, m_CleanupQueue, m_Mission, m_NextToProcessIdx, m_ProcessComponents, m_ProcessingFinished, m_Update, m_UpdateTimer, and mission.
|
inlineprotected |
Definition at line 149 of file rainprocurementhandler.c.
References m_ActiveComponents, and m_Update.
Referenced by Update().
|
inlineprotected |
Definition at line 104 of file rainprocurementhandler.c.
References m_ActiveComponents, and m_CleanupQueue.
Referenced by Update().
|
inlineprotected |
scalable on handler level. Now also handles SNOW, total value can exceed 1.0
Definition at line 160 of file rainprocurementhandler.c.
References g_Game.
Referenced by Update().
|
inlineprotected |
Definition at line 154 of file rainprocurementhandler.c.
References m_LiquidAmountCoef.
|
inlineprotected |
Definition at line 124 of file rainprocurementhandler.c.
References component, m_ActiveComponents, and m_ChangedQueue.
Referenced by Update().
|
inlineprotected |
returns 'true' when all the batches are finished
Definition at line 81 of file rainprocurementhandler.c.
References Math::Clamp(), m_ActiveComponents, m_CleanupQueue, m_LiquidAmountCoef, m_NextToProcessIdx, m_UpdateTimer, and UPDATE_BATCH_SIZE.
Referenced by Update().
|
inlineprotected |
Definition at line 29 of file rainprocurementhandler.c.
References component, m_ChangedQueue, and m_Update.
|
inlineprotected |
Definition at line 35 of file rainprocurementhandler.c.
References component, m_ChangedQueue, and m_Update.
|
inlineprotected |
Definition at line 117 of file rainprocurementhandler.c.
References m_ProcessComponents, m_ProcessingFinished, and m_UpdateTimer.
Referenced by Update().
|
inlineprotected |
Definition at line 41 of file rainprocurementhandler.c.
References CheckUpdating(), Cleanup(), DetermineAmountCoef(), HandleChangedComponents(), m_LiquidAmountCoef, m_ProcessComponents, m_ProcessingFinished, m_Update, m_UpdateTimer, ProcessBatch(), Reset(), and UPDATE_TIME.
|
protected |
Definition at line 4 of file rainprocurementhandler.c.
Referenced by RainProcurementHandler(), CheckUpdating(), Cleanup(), HandleChangedComponents(), and ProcessBatch().
|
protected |
Definition at line 5 of file rainprocurementhandler.c.
Referenced by RainProcurementHandler(), HandleChangedComponents(), QueueStart(), and QueueStop().
|
protected |
Definition at line 6 of file rainprocurementhandler.c.
Referenced by RainProcurementHandler(), Cleanup(), and ProcessBatch().
|
protected |
Definition at line 14 of file rainprocurementhandler.c.
Referenced by GetLiquidAmountCoef(), ProcessBatch(), and Update().
|
protected |
Definition at line 3 of file rainprocurementhandler.c.
Referenced by RainProcurementHandler().
|
protected |
Definition at line 12 of file rainprocurementhandler.c.
Referenced by RainProcurementHandler(), and ProcessBatch().
|
protected |
Definition at line 10 of file rainprocurementhandler.c.
Referenced by RainProcurementHandler(), Reset(), and Update().
|
protected |
Definition at line 11 of file rainprocurementhandler.c.
Referenced by RainProcurementHandler(), Reset(), and Update().
|
protected |
Definition at line 9 of file rainprocurementhandler.c.
Referenced by RainProcurementHandler(), CheckUpdating(), QueueStart(), QueueStop(), and Update().
|
protected |
Definition at line 13 of file rainprocurementhandler.c.
Referenced by RainProcurementHandler(), ProcessBatch(), Reset(), and Update().
|
protected |
Definition at line 7 of file rainprocurementhandler.c.
Referenced by ProcessBatch().
|
protected |
Definition at line 8 of file rainprocurementhandler.c.
Referenced by Update().