Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
RainProcurementHandler Class Reference
Inheritance diagram for RainProcurementHandler:
Managed

Protected Member Functions

void RainProcurementHandler (MissionBaseWorld mission)
 
void QueueStart (RainProcurementComponentBase component)
 
void QueueStop (RainProcurementComponentBase component)
 
void Update (float timeslice)
 
bool ProcessBatch ()
 returns 'true' when all the batches are finished
 
void Cleanup ()
 
void Reset ()
 
void HandleChangedComponents ()
 
void CheckUpdating ()
 
float GetLiquidAmountCoef ()
 
float DetermineAmountCoef ()
 scalable on handler level. Now also handles SNOW, total value can exceed 1.0
 

Protected Attributes

MissionBaseWorld m_Mission
 
ref set< RainProcurementComponentBasem_ActiveComponents
 
ref set< RainProcurementComponentBasem_ChangedQueue
 
ref set< intm_CleanupQueue
 
const int UPDATE_BATCH_SIZE = 20
 
const int UPDATE_TIME = 10
 
bool m_Update
 
bool m_ProcessComponents
 
bool m_ProcessingFinished
 
int m_NextToProcessIdx
 
float m_UpdateTimer
 
float m_LiquidAmountCoef
 

Detailed Description

Definition at line 1 of file rainprocurementhandler.c.

Constructor & Destructor Documentation

◆ RainProcurementHandler()

void RainProcurementHandler::RainProcurementHandler ( MissionBaseWorld mission)
protected

Definition at line 16 of file rainprocurementhandler.c.

Member Function Documentation

◆ CheckUpdating()

void RainProcurementHandler::CheckUpdating ( )
protected

Definition at line 150 of file rainprocurementhandler.c.

◆ Cleanup()

void RainProcurementHandler::Cleanup ( )
protected

Definition at line 104 of file rainprocurementhandler.c.

◆ DetermineAmountCoef()

float RainProcurementHandler::DetermineAmountCoef ( )
protected

scalable on handler level. Now also handles SNOW, total value can exceed 1.0

Definition at line 161 of file rainprocurementhandler.c.

◆ GetLiquidAmountCoef()

float RainProcurementHandler::GetLiquidAmountCoef ( )
protected

Definition at line 155 of file rainprocurementhandler.c.

◆ HandleChangedComponents()

void RainProcurementHandler::HandleChangedComponents ( )
protected

Definition at line 124 of file rainprocurementhandler.c.

◆ ProcessBatch()

bool RainProcurementHandler::ProcessBatch ( )
protected

returns 'true' when all the batches are finished

Definition at line 81 of file rainprocurementhandler.c.

◆ QueueStart()

void RainProcurementHandler::QueueStart ( RainProcurementComponentBase component)
protected

Definition at line 29 of file rainprocurementhandler.c.

◆ QueueStop()

void RainProcurementHandler::QueueStop ( RainProcurementComponentBase component)
protected

Definition at line 35 of file rainprocurementhandler.c.

◆ Reset()

void RainProcurementHandler::Reset ( )
protected

Definition at line 117 of file rainprocurementhandler.c.

◆ Update()

void RainProcurementHandler::Update ( float timeslice)
protected

Definition at line 41 of file rainprocurementhandler.c.

Member Data Documentation

◆ m_ActiveComponents

ref set<RainProcurementComponentBase> RainProcurementHandler::m_ActiveComponents
protected

Definition at line 4 of file rainprocurementhandler.c.

◆ m_ChangedQueue

ref set<RainProcurementComponentBase> RainProcurementHandler::m_ChangedQueue
protected

Definition at line 5 of file rainprocurementhandler.c.

◆ m_CleanupQueue

ref set<int> RainProcurementHandler::m_CleanupQueue
protected

Definition at line 6 of file rainprocurementhandler.c.

◆ m_LiquidAmountCoef

float RainProcurementHandler::m_LiquidAmountCoef
protected

Definition at line 14 of file rainprocurementhandler.c.

◆ m_Mission

MissionBaseWorld RainProcurementHandler::m_Mission
protected

Definition at line 3 of file rainprocurementhandler.c.

◆ m_NextToProcessIdx

int RainProcurementHandler::m_NextToProcessIdx
protected

Definition at line 12 of file rainprocurementhandler.c.

◆ m_ProcessComponents

bool RainProcurementHandler::m_ProcessComponents
protected

Definition at line 10 of file rainprocurementhandler.c.

◆ m_ProcessingFinished

bool RainProcurementHandler::m_ProcessingFinished
protected

Definition at line 11 of file rainprocurementhandler.c.

◆ m_Update

bool RainProcurementHandler::m_Update
protected

Definition at line 9 of file rainprocurementhandler.c.

◆ m_UpdateTimer

float RainProcurementHandler::m_UpdateTimer
protected

Definition at line 13 of file rainprocurementhandler.c.

◆ UPDATE_BATCH_SIZE

const int RainProcurementHandler::UPDATE_BATCH_SIZE = 20
protected

Definition at line 7 of file rainprocurementhandler.c.

◆ UPDATE_TIME

const int RainProcurementHandler::UPDATE_TIME = 10
protected

Definition at line 8 of file rainprocurementhandler.c.


The documentation for this class was generated from the following file: