class RainProcurementHandlerSource
RainProcurementHandler › Managed
All members, including inherited
Constructors 1
void RainProcurementHandler(MissionBaseWorld mission)References m_ActiveComponents, m_ChangedQueue, m_CleanupQueue
Show 6 more
, m_Mission, m_NextToProcessIdx, m_ProcessComponents, m_ProcessingFinished, m_Update, and m_UpdateTimerReferenced by MissionServer.MissionServer()
Constants 2
protected const int UPDATE_BATCH_SIZE = 20Tweak this to adjust max batch size
Referenced by ProcessBatch()
Members 10
protected MissionBaseWorld m_MissionReferenced by RainProcurementHandler()
protected ref set<RainProcurementComponentBase> m_ActiveComponentsReferenced by CheckUpdating(), Cleanup(), HandleChangedComponents()
Show 2 more
, ProcessBatch(), and RainProcurementHandler()protected ref set<RainProcurementComponentBase> m_ChangedQueueReferenced by HandleChangedComponents(), QueueStart(), QueueStop()
Show 1 more
, RainProcurementHandler()protected bool m_UpdateReferenced by CheckUpdating(), QueueStart(), QueueStop()
Show 2 more
, RainProcurementHandler(), and Update()protected bool m_ProcessComponentsprotected bool m_ProcessingFinishedprotected int m_NextToProcessIdxprotected float m_UpdateTimerprotected float m_LiquidAmountCoefMethods 10
void QueueStart(RainProcurementComponentBase component)Referenced by RainProcurementComponentBase.StartRainProcurement()
void QueueStop(RainProcurementComponentBase component)Referenced by RainProcurementComponentBase.StopRainProcurement()
void Update(float timeslice)Referenced by MissionServer.OnUpdate()
protected bool ProcessBatch()returns 'true' when all the batches are finished
References Math.Clamp(), set.Count(), set.Insert()
Show 7 more
, OnUpdate(), m_ActiveComponents, m_CleanupQueue, m_LiquidAmountCoef, m_NextToProcessIdx, m_UpdateTimer, and UPDATE_BATCH_SIZEReferenced by Update()
protected void Cleanup()References set.Clear(), set.Count(), set.Remove()
Show 2 more
, m_ActiveComponents, and m_CleanupQueueReferenced by Update()
protected void Reset()Referenced by Update()
protected void HandleChangedComponents()References set.Clear(), set.Count(), set.Find()
Show 5 more
, set.Insert(), RainProcurementComponentBase.IsActive(), set.Remove(), m_ActiveComponents, and m_ChangedQueueReferenced by Update()
protected void CheckUpdating()Referenced by Update()
float GetLiquidAmountCoef()References m_LiquidAmountCoef
float DetermineAmountCoef()scalable on handler level. Now also handles SNOW, total value can exceed 1.0
References WeatherPhenomenon.GetActual(), WeatherPhenomenon.GetActual(), Weather.GetRain()
Show 2 more
, Weather.GetSnowfall(), and CGame.GetWeather()Referenced by Update()