terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
EventSource.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x020005DA RID: 1498
7 public class EventSource : IDisposable
8 {
9 // Token: 0x06002D80 RID: 11648 RVA: 0x00064B20 File Offset: 0x00062D20
10 protected EventSource()
11 {
12 Type type = base.GetType();
13 this.Name = type;
14 }
15
16 // Token: 0x06002D81 RID: 11649 RVA: 0x00064B44 File Offset: 0x00062D44
18 {
20 }
21
22 // Token: 0x06002D82 RID: 11650 RVA: 0x00064B60 File Offset: 0x00062D60
24 {
25 }
26
27 // Token: 0x06002D83 RID: 11651 RVA: 0x00064B74 File Offset: 0x00062D74
28 protected override void Finalize()
29 {
30 base.Finalize();
31 }
32
33 // Token: 0x170006ED RID: 1773
34 // (set) Token: 0x06002D84 RID: 11652 RVA: 0x00064BA8 File Offset: 0x00062DA8
35 private string Name
36 {
38 set
39 {
41 }
42 }
43
44 // Token: 0x06002D85 RID: 11653 RVA: 0x00064BBC File Offset: 0x00062DBC
45 public bool IsEnabled()
46 {
47 }
48
49 // Token: 0x06002D86 RID: 11654 RVA: 0x00064BCC File Offset: 0x00062DCC
50 public bool IsEnabled(EventLevel level, EventKeywords keywords)
51 {
52 }
53
54 // Token: 0x06002D87 RID: 11655 RVA: 0x00064BDC File Offset: 0x00062DDC
55 public void Dispose()
56 {
57 GC.SuppressFinalize(this);
58 }
59
60 // Token: 0x06002D88 RID: 11656 RVA: 0x00064BF0 File Offset: 0x00062DF0
61 protected virtual void Dispose(bool disposing)
62 {
63 }
64
65 // Token: 0x06002D89 RID: 11657 RVA: 0x00064C00 File Offset: 0x00062E00
66 protected void WriteEvent(int eventId, int arg1)
67 {
68 }
69
70 // Token: 0x06002D8A RID: 11658 RVA: 0x00064C14 File Offset: 0x00062E14
71 protected void WriteEvent(int eventId, int arg1, int arg2)
72 {
73 }
74
75 // Token: 0x06002D8B RID: 11659 RVA: 0x00064C28 File Offset: 0x00062E28
76 protected void WriteEvent(int eventId, int arg1, int arg2, int arg3)
77 {
78 }
79
80 // Token: 0x06002D8C RID: 11660 RVA: 0x00064C3C File Offset: 0x00062E3C
81 protected void WriteEvent(int eventId, params object[] args)
82 {
83 }
84
85 // Token: 0x06002D8D RID: 11661 RVA: 0x00064C4C File Offset: 0x00062E4C
86 protected void WriteEvent(int eventId, string arg1, string arg2, string arg3)
87 {
88 if ((arg1 == null || arg1 != null) && (arg2 == null || arg2 != null) && (arg3 == null || arg3 != null))
89 {
90 return;
91 }
93 }
94
95 // Token: 0x06002D8E RID: 11662 RVA: 0x00064C74 File Offset: 0x00062E74
96 [CLSCompliant(false)]
98 {
99 }
100
101 // Token: 0x0400198B RID: 6539
103 private string <Name>k__BackingField;
104
105 // Token: 0x020005DB RID: 1499
106 protected internal struct EventData
107 {
108 // Token: 0x170006EE RID: 1774
109 // (set) Token: 0x06002D8F RID: 11663 RVA: 0x00064C84 File Offset: 0x00062E84
111 {
113 set
114 {
115 this.<DataPointer>k__BackingField = value;
116 }
117 }
118
119 // Token: 0x170006EF RID: 1775
120 // (set) Token: 0x06002D90 RID: 11664 RVA: 0x00064C98 File Offset: 0x00062E98
121 public int Size
122 {
124 set
125 {
126 this.<Size>k__BackingField = value;
127 }
128 }
129
130 // Token: 0x170006F0 RID: 1776
131 // (set) Token: 0x06002D91 RID: 11665 RVA: 0x00064CAC File Offset: 0x00062EAC
132 internal int Reserved
133 {
135 set
136 {
137 this.<Reserved>k__BackingField = value;
138 }
139 }
140
141 // Token: 0x0400198C RID: 6540
143 private IntPtr <DataPointer>k__BackingField;
144
145 // Token: 0x0400198D RID: 6541
147 private int <Size>k__BackingField;
148
149 // Token: 0x0400198E RID: 6542
151 private int <Reserved>k__BackingField;
152 }
153 }
154}
class f__AnonymousType0<< Count > j__TPar
void WriteEvent(int eventId, int arg1)
virtual void Dispose(bool disposing)
void WriteEvent(int eventId, int arg1, int arg2)
EventSource(Guid eventSourceGuid, string eventSourceName)
void WriteEvent(int eventId, params object[] args)
EventSource(string eventSourceName)
unsafe void WriteEventCore(int eventId, int eventDataCount, EventSource.EventData *data)
void WriteEvent(int eventId, string arg1, string arg2, string arg3)
void WriteEvent(int eventId, int arg1, int arg2, int arg3)
bool IsEnabled(EventLevel level, EventKeywords keywords)
static void SuppressFinalize(object obj)
Definition GC.cs:116
new Type GetType()
Definition Type.cs:287