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
SingleCallIdentity.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200034E RID: 846
9 {
10 // Token: 0x06001C5F RID: 7263 RVA: 0x0003DB90 File Offset: 0x0003BD90
11 public SingleCallIdentity(string objectUri, Context context, Type objectType)
12 : base(objectUri, context, objectType)
13 {
14 }
15
16 // Token: 0x06001C60 RID: 7264 RVA: 0x0003DBA8 File Offset: 0x0003BDA8
18 {
19 Type objectType = this._objectType;
20 int num = 1;
21 object obj = Activator.CreateInstance(objectType, num != 0);
22 if (obj != null)
23 {
24 }
26 if (serverIdentity == null)
27 {
28 }
29 Context context = this._context;
30 if (obj != null)
31 {
32 if (obj == null)
33 {
34 throw new InvalidCastException();
35 }
36 if (obj == null)
37 {
38 throw new InvalidCastException();
39 }
40 }
41 throw new InvalidCastException();
42 }
43
44 // Token: 0x06001C61 RID: 7265 RVA: 0x0003DBF0 File Offset: 0x0003BDF0
46 {
47 Type objectType = this._objectType;
48 int num = 1;
49 object obj = Activator.CreateInstance(objectType, num != 0);
50 if (obj != null)
51 {
52 }
53 Context context = this._context;
54 if (obj != null && obj != null && obj == null)
55 {
56 throw new InvalidCastException();
57 }
58 throw new InvalidCastException();
59 }
60 }
61}
class f__AnonymousType0<< Count > j__TPar
static object CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture)
Definition Activator.cs:15
SingleCallIdentity(string objectUri, Context context, Type objectType)
override IMessage SyncObjectProcessMessage(IMessage msg)
override IMessageCtrl AsyncObjectProcessMessage(IMessage msg, IMessageSink replySink)