internal static void AddFreeTimer(Timer timer) { timer.Reset(); if (freeRoot != null) { timer.next = freeRoot; } freeRoot = timer; }
private void TimerCallback2(Timer timer) { callbacks.Add(TimerCallback2); }
private void TimerCallback1(Timer timer) { callbacks.Add(TimerCallback1); }
private void BlockedTimerCallback(Timer timer) { m_blocked = false; }
private void StopDiscoveryCall(Timer call) { StopDiscovery(true); }
internal static Timer NextFreeTimer() { Timer timer; if (freeRoot != null) { timer = freeRoot; freeRoot = timer.next; timer.prev = timer.next = null; } else { timer = new Timer(); } return timer; }
private void TrySchedulePoopsCallback(Timer timer) { TryPoops(); }
private void OnBlinkTimer(Timer timer) { carretVisible = !carretVisible; }
private void OnSaveCvarsTimerCallback(Timer timer) { TryExecuteCommand("write default.cfg"); }
private void RoundEndCheckTimerCallback(Timer timer) { if (players.GetAlivePlayerCount() < 2) { EndRound(); } }
private void RoundEndTimerCallback(Timer timer) { GetGame().EndRound(); }
private void OnDiscoveryTimeout(Timer call) { Log.d("Discovery timeout"); StopDiscovery(); StartDiscovery(); }
private void SendServerPacketCallback(Timer timer) { SendServerPacket(); }
private void UpdateAnimationCallback(Timer timer) { UpdateAnimation(); }
private void TimerCallback3(Timer timer) { callbacks.Add(TimerCallback3); }
private void Reset() { next = prev = null; manager = null; callback = null; numRepeats = numRepeated = 0; timeout = 0; fireTime = 0; scheduleTime = 0; cancelled = false; name = null; userData = null; }
private void TimerCallback4(Timer timer) { callbacks.Add(TimerCallback4); }
private void BlinkTimerCallback(Timer timer) { blink = !blink; }