DayZ 1.24
Loading...
Searching...
No Matches
array< TimerBase > Class Reference

TimerQueue Class using for system purpose only. More...

Collaboration diagram for array< TimerBase >:
[legend]

Private Member Functions

void TimerQueue ()
 
void ~TimerQueue ()
 
void Tick (float timeslice)
 

Private Attributes

bool m_processing
 

Detailed Description

TimerQueue Class using for system purpose only.

Definition at line 362 of file tools.c.

Constructor & Destructor Documentation

◆ ~TimerQueue()

void array< TimerBase >::~TimerQueue ( )
inlineprivate

Definition at line 373 of file tools.c.

374 {
375 if (Count())
376 {
377 for (int i = Count() - 1; i >= 0; i--)
378 Get(i).OnTimerQueueDestoryed();
379
380 Clear();
381 }
382 }
array< ref PlayerStatBase > Get()
void Clear(bool clearFile=false)

References Clear(), Count, and Get().

Member Function Documentation

◆ Tick()

void array< TimerBase >::Tick ( float timeslice)
inlineprivate

Definition at line 385 of file tools.c.

386 {
387 if (m_processing) return;
388
389 m_processing = true;
390
391 if (Count())
392 {
393 for (int i = Count() - 1; i >= 0; i--)
394 Get(i).Tick(timeslice);
395 }
396
397 m_processing = false;
398 }

References Count, and Get().

◆ TimerQueue()

void array< TimerBase >::TimerQueue ( )
inlineprivate

Definition at line 367 of file tools.c.

368 {
369 m_processing = false;
370 }

Member Data Documentation

◆ m_processing

bool array< TimerBase >::m_processing
private

Definition at line 364 of file tools.c.


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