Private Member Functions | |
| void | RainProcurementHandler (MissionBaseWorld mission) |
| void | QueueStart (RainProcurementComponentBase component) |
| void | QueueStop (RainProcurementComponentBase component) |
| void | Update (float timeslice) |
| protected bool | ProcessBatch () |
| returns 'true' when all the batches are finished | |
| protected void | Cleanup () |
| protected void | Reset () |
| protected void | HandleChangedComponents () |
| protected void | CheckUpdating () |
| float | GetLiquidAmountCoef () |
| float | DetermineAmountCoef () |
| scalable on handler level. Now also handles SNOW, total value can exceed 1.0 | |
Private Attributes | |
| protected MissionBaseWorld | m_Mission |
| protected ref set< RainProcurementComponentBase > | m_ActiveComponents |
| protected ref set< RainProcurementComponentBase > | m_ChangedQueue |
| protected ref set< int > | m_CleanupQueue |
| protected const int | UPDATE_BATCH_SIZE = 20 |
| const int | UPDATE_TIME = 10 |
| protected bool | m_Update |
| protected bool | m_ProcessComponents |
| protected bool | m_ProcessingFinished |
| protected int | m_NextToProcessIdx |
| protected float | m_UpdateTimer |
| protected float | m_LiquidAmountCoef |
|
inlineprivate |
|
inlineprivate |
References m_ActiveComponents, and m_Update.
Referenced by Update().
|
inlineprivate |
References m_ActiveComponents, and m_CleanupQueue.
Referenced by Update().
|
inlineprivate |
scalable on handler level. Now also handles SNOW, total value can exceed 1.0
References WeatherPhenomenon::GetActual(), GetGame(), Weather::GetRain(), Weather::GetSnowfall(), and CGame::GetWeather().
Referenced by Update().
|
inlineprivate |
References m_LiquidAmountCoef.
|
inlineprivate |
References component, m_ActiveComponents, and m_ChangedQueue.
Referenced by Update().
|
inlineprivate |
returns 'true' when all the batches are finished
References Math::Clamp(), m_ActiveComponents, m_CleanupQueue, m_LiquidAmountCoef, m_NextToProcessIdx, m_UpdateTimer, and UPDATE_BATCH_SIZE.
Referenced by Update().
|
inlineprivate |
References component, m_ChangedQueue, and m_Update.
Referenced by RainProcurementComponentBase::StartRainProcurement().
|
inlineprivate |
References component, m_ChangedQueue, and m_Update.
Referenced by RainProcurementComponentBase::StopRainProcurement().
|
inlineprivate |
References m_ProcessComponents, m_ProcessingFinished, and m_UpdateTimer.
Referenced by Update().
|
inlineprivate |
|
private |
Referenced by CheckUpdating(), Cleanup(), HandleChangedComponents(), ProcessBatch(), and RainProcurementHandler().
|
private |
Referenced by HandleChangedComponents(), QueueStart(), QueueStop(), and RainProcurementHandler().
|
private |
Referenced by Cleanup(), ProcessBatch(), and RainProcurementHandler().
|
private |
Referenced by GetLiquidAmountCoef(), ProcessBatch(), and Update().
|
private |
Referenced by RainProcurementHandler().
|
private |
Referenced by ProcessBatch(), and RainProcurementHandler().
|
private |
Referenced by RainProcurementHandler(), Reset(), and Update().
|
private |
Referenced by RainProcurementHandler(), Reset(), and Update().
|
private |
Referenced by CheckUpdating(), QueueStart(), QueueStop(), RainProcurementHandler(), and Update().
|
private |
Referenced by ProcessBatch(), RainProcurementHandler(), Reset(), and Update().
|
private |
Referenced by ProcessBatch().