293 {
295 return;
296
298 {
302 return;
303 }
304
306 return;
307
310
312 {
314
316 {
318 if (registeredCountRound > 2)
320
322 }
323 }
324 else
325 {
328 {
329 #ifdef ENABLE_LOGGING
331 #endif
332
335
337 {
338 #ifdef ENABLE_LOGGING
339
340 #endif
341
345 }
346
347 #ifdef DIAG_DEVELOPER
350 SyncBunkersInfo(bunkerList, bunkersHistory);
351 #endif
352
355
357
360 }
361 }
362 }
array< ref BunkerBroadcastComponentBase > BunkerComponentsArray
class LogTemplates Log(string message, LogTemplateID template_id=0)
Creates debug log (optional) from LogTemplate which are registred.
ref BunkerBroadcastConfigInstance m_Config
TIntArray GetActiveBunkersHistory()
ref SimpleCircularBuffer< int > m_ActiveBunkersHistory
bool ProcessBatch()
returns 'true' when all the batches are finished
BunkerComponentsArray GetRegisteredBunkers()
ref map< int, ref BunkerBroadcastComponentBase > m_RegisteredBunkers
how often is update called [seconds]
const float UPDATE_TIME
max batch size
int m_LastActiveBunkersCount
bool m_ProcessingFinished
ref ScriptInvoker m_OnActiveBunkersSelected
BunkerBroadcastScheduler m_BroadcastScheduler
ref BunkerComponentsArray m_ActiveBunkers
int m_ActiveBunkersFromStorageCount
void HandleChangedComponents()