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

◆ WriteEvent() [3/18]

unsafe void System.Diagnostics.Tracing.EventSource.WriteEvent ( int eventId,
int arg1 )
inlineprotectedinherited

Definition at line 541 of file EventSource.cs.

542 {
543 if (IsEnabled())
544 {
545 EventData* ptr = stackalloc EventData[1];
546 ptr->DataPointer = (IntPtr)(&arg1);
547 ptr->Size = 4;
548 ptr->Reserved = 0;
550 }
551 }
unsafe void WriteEventCore(int eventId, int eventDataCount, EventData *data)

References System.Diagnostics.Tracing.EventSource.IsEnabled(), and System.Diagnostics.Tracing.EventSource.WriteEventCore().