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
TypeInfo.cs
Go to the documentation of this file.
1using System;
2
4{
5 // Token: 0x02000353 RID: 851
7 internal class TypeInfo : IRemotingTypeInfo
8 {
9 // Token: 0x06001C7B RID: 7291 RVA: 0x0003DEEC File Offset: 0x0003C0EC
10 public TypeInfo(Type type)
11 {
12 int num = 1;
13 base..ctor();
14 bool isInterface = type.IsInterface;
15 if (num == 0)
16 {
17 }
18 Type type2;
20 string[] array = this.interfacesImplemented;
21 if (type == null || type != null)
22 {
23 return;
24 }
26 }
27
28 // Token: 0x17000347 RID: 839
29 // (get) Token: 0x06001C7C RID: 7292 RVA: 0x0003DF48 File Offset: 0x0003C148
30 public string TypeName
31 {
32 get
33 {
34 return this.serverType;
35 }
36 }
37
38 // Token: 0x06001C7D RID: 7293 RVA: 0x0003DF5C File Offset: 0x0003C15C
39 public bool CanCastTo(Type fromType, object o)
40 {
41 if (!true)
42 {
43 }
44 Type type;
45 bool flag = fromType == type;
46 Type type2;
47 bool flag2 = fromType == type2;
48 string text;
49 bool flag3 = (this.serverType + ",").StartsWith(text);
50 if (this.serverHierarchy != null)
51 {
52 string text2;
53 bool flag4 = text2.StartsWith(text);
54 }
55 if (this.interfacesImplemented != null)
56 {
57 string text3;
58 bool flag5 = text3.StartsWith(text);
59 return;
60 }
61 }
62
63 // Token: 0x04000E6E RID: 3694
64 private string serverType;
65
66 // Token: 0x04000E6F RID: 3695
67 private string[] serverHierarchy;
68
69 // Token: 0x04000E70 RID: 3696
70 private string[] interfacesImplemented;
71 }
72}
class f__AnonymousType0<< Count > j__TPar
bool CanCastTo(Type fromType, object o)
Definition TypeInfo.cs:39
bool IsInterface
Definition Type.cs:1345