Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ UnlinkTimer()

void System.Threading.TimerQueue.UnlinkTimer ( TimerQueueTimer timer)
inlineprivate

Definition at line 298 of file TimerQueue.cs.

299 {
300 TimerQueueTimer next = timer._next;
301 if (next != null)
302 {
303 next._prev = timer._prev;
304 }
305 if (_shortTimers == timer)
306 {
307 _shortTimers = next;
308 }
309 else if (_longTimers == timer)
310 {
311 _longTimers = next;
312 }
313 next = timer._prev;
314 if (next != null)
315 {
316 next._next = timer._next;
317 }
318 }
TimerQueueTimer _shortTimers
Definition TimerQueue.cs:51
TimerQueueTimer _longTimers
Definition TimerQueue.cs:53

References System.Threading.TimerQueue._longTimers, and System.Threading.TimerQueue._shortTimers.

Referenced by System.Threading.TimerQueue.DeleteTimer(), System.Threading.TimerQueue.MoveTimerToCorrectList(), and System.Threading.TimerQueue.UpdateTimer().