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

◆ TimerNode() [1/2]

System.Net.TimerThread.TimerNode.TimerNode ( Callback callback,
object context,
int durationMilliseconds,
object queueLock )
inlinepackage

Definition at line 192 of file TimerThread.cs.

194 {
195 if (callback != null)
196 {
197 _callback = callback;
198 _context = context;
199 }
200 _timerState = TimerState.Ready;
202 if (System.Net.NetEventSource.Log.IsEnabled())
203 {
204 System.Net.NetEventSource.Info(this, $"TimerThreadTimer#{base.StartTime}", ".ctor");
205 }
206 }
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)

References System.Net.TimerThread.TimerNode._callback, System.Net.TimerThread.TimerNode._context, System.Net.TimerThread.TimerNode._queueLock, System.Net.TimerThread.TimerNode._timerState, System.Net.NetEventSource.Info(), and System.Net.NetEventSource.Log.