243 {
245
246 #ifdef DIAG_NOTIFIER_LOGS
247 if (notifierCount == 0)
248 {
250 return;
251 }
252 #endif
253
255 {
256 #ifdef DIAG_NOTIFIER_LOGS
258 #endif
260 }
261
263
264 #ifdef DIAG_NOTIFIER_LOGS
266 #endif
267
269
270 if (currentNotifier && currentNotifier.
IsActive())
271 {
272 #ifdef DIAG_NOTIFIER_LOGS
274 #endif
275
277 {
278 #ifdef DIAG_NOTIFIER_LOGS
280 #endif
281 currentNotifier.
OnTick(currentTime);
282 }
283 #ifdef DIAG_NOTIFIER_LOGS
284 else
285 {
287 }
288 #endif
289 }
290 #ifdef DIAG_NOTIFIER_LOGS
291 else
292 {
293 if (!currentNotifier)
295 else
296 ErrorEx(
string.Format(
"Could get notifier %1 with ID %2 but notifier is inactive!", currentNotifier, notifierID),
ErrorExSeverity.INFO);
297 }
298 #endif
299
301 }
ref array< int > m_NotifierIDs
Notifier ids in registration order.
NotifierBase m_NotifiersStatic[MAX_COUNT]
int m_LastPolledIndex
Round-robin index.
void OnTick(float current_time)
bool IsTimeToTick(int current_time)