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
PlayerEditorConnectionEvents.cs
Go to the documentation of this file.
1using System;
3using System.Linq;
7
9{
10 // Token: 0x020000F3 RID: 243
13 {
14 // Token: 0x06000525 RID: 1317 RVA: 0x00009428 File Offset: 0x00007628
15 public void InvokeMessageIdSubscribers(Guid messageId, byte[] data, int playerId)
16 {
18 bool flag = Enumerable.Any(list);
19 }
20
21 // Token: 0x06000526 RID: 1318 RVA: 0x000021B3 File Offset: 0x000003B3
23 {
24 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
25 }
26
27 // Token: 0x06000527 RID: 1319 RVA: 0x00009490 File Offset: 0x00007690
40
41 // Token: 0x06000528 RID: 1320 RVA: 0x000094D0 File Offset: 0x000076D0
43 {
44 }
45
46 // Token: 0x04000412 RID: 1042
49
50 // Token: 0x04000413 RID: 1043
53
54 // Token: 0x04000414 RID: 1044
57
58 // Token: 0x020000F4 RID: 244
59 [Serializable]
60 public class MessageEvent : UnityEvent<MessageEventArgs>
61 {
62 // Token: 0x06000529 RID: 1321 RVA: 0x000094E4 File Offset: 0x000076E4
63 public MessageEvent()
64 {
65 }
66 }
67
68 // Token: 0x020000F5 RID: 245
69 [Serializable]
71 {
72 // Token: 0x0600052A RID: 1322 RVA: 0x000094F4 File Offset: 0x000076F4
74 {
75 }
76 }
77
78 // Token: 0x020000F6 RID: 246
79 [Serializable]
81 {
82 // Token: 0x17000113 RID: 275
83 // (get) Token: 0x0600052B RID: 1323 RVA: 0x00009504 File Offset: 0x00007704
84 // (set) Token: 0x0600052C RID: 1324 RVA: 0x00009518 File Offset: 0x00007718
86 {
87 get
88 {
89 /*
90An exception occurred when decompiling this method (0600052B)
91
92ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Guid UnityEngine.Networking.PlayerConnection.PlayerEditorConnectionEvents/MessageTypeSubscribers::get_MessageTypeId()
93
94 ---> System.Exception: Basic block has to end with unconditional control flow.
95{
96 Block_0:
97 stloc:string(var_0_06, ldfld:string(MessageTypeSubscribers::m_messageTypeId, ldloc:MessageTypeSubscribers(this)))
98}
99
100 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
101 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
102 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
103 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
104 --- End of inner exception stack trace ---
105 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
106 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
107*/;
108 }
109 set
110 {
111 string text;
113 }
114 }
115
116 // Token: 0x0600052D RID: 1325 RVA: 0x0000952C File Offset: 0x0000772C
118 {
119 }
120
121 // Token: 0x04000415 RID: 1045
123 private string m_messageTypeId;
124
125 // Token: 0x04000416 RID: 1046
126 public int subscriberCount;
127
128 // Token: 0x04000417 RID: 1047
130 }
131
132 // Token: 0x020000F7 RID: 247
134 private sealed class <>c__DisplayClass6_0
135 {
136 // Token: 0x0600052E RID: 1326 RVA: 0x00009540 File Offset: 0x00007740
138 {
139 }
140
141 // Token: 0x0600052F RID: 1327 RVA: 0x00009554 File Offset: 0x00007754
143 {
144 string messageTypeId = x.m_messageTypeId;
145 Guid guid = this.messageId;
146 byte d = this.messageId._d;
147 bool flag;
148 return flag;
149 }
150
151 // Token: 0x04000418 RID: 1048
152 public Guid messageId;
153 }
154
155 // Token: 0x020000F8 RID: 248
157 private sealed class <>c__DisplayClass7_0
158 {
159 // Token: 0x06000530 RID: 1328 RVA: 0x0000957C File Offset: 0x0000777C
161 {
162 }
163
164 // Token: 0x06000531 RID: 1329 RVA: 0x00009590 File Offset: 0x00007790
165 internal bool <AddAndCreate>b__0(PlayerEditorConnectionEvents.MessageTypeSubscribers x)
166 {
167 string messageTypeId = x.m_messageTypeId;
168 Guid guid = this.messageId;
169 byte d = this.messageId._d;
170 bool flag;
171 return flag;
172 }
173
174 // Token: 0x04000419 RID: 1049
175 public Guid messageId;
176 }
177
178 // Token: 0x020000F9 RID: 249
180 private sealed class <>c__DisplayClass8_0
181 {
182 // Token: 0x06000532 RID: 1330 RVA: 0x000095B8 File Offset: 0x000077B8
184 {
185 }
186
187 // Token: 0x06000533 RID: 1331 RVA: 0x000095CC File Offset: 0x000077CC
189 {
190 string messageTypeId = x.m_messageTypeId;
191 Guid guid = this.messageId;
192 byte d = this.messageId._d;
193 bool flag;
194 return flag;
195 }
196
197 // Token: 0x0400041A RID: 1050
198 public Guid messageId;
199 }
200 }
201}
class f__AnonymousType0<< Count > j__TPar
void UnregisterManagedCallback(Guid messageId, UnityAction< MessageEventArgs > callback)
List< PlayerEditorConnectionEvents.MessageTypeSubscribers > messageTypeSubscribers
byte _d
Definition Guid.cs:537