terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
MessageBase.cs
Go to the documentation of this file.
1using System;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x200003B")]
9 public abstract class MessageBase
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x60001C7")]
12 [global::Cpp2ILInjected.Address(RVA = "0x1A99B4C", Offset = "0x1A99B4C", Length = "0x28")]
13 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
14 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
15 protected MessageBase(int messageType)
16 {
17 throw null;
18 }
19
20 [global::Cpp2ILInjected.Token(Token = "0x17000083")]
22 {
23 [global::Cpp2ILInjected.Token(Token = "0x60001C8")]
24 [global::Cpp2ILInjected.Address(RVA = "0x1A99B74", Offset = "0x1A99B74", Length = "0x8")]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
26 get
27 {
28 throw null;
29 }
30 [global::Cpp2ILInjected.Token(Token = "0x60001C9")]
31 [global::Cpp2ILInjected.Address(RVA = "0x1A99B7C", Offset = "0x1A99B7C", Length = "0x8")]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
33 set
34 {
35 throw null;
36 }
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x17000084")]
40 public int Type
41 {
42 [global::Cpp2ILInjected.Token(Token = "0x60001CA")]
43 [global::Cpp2ILInjected.Address(RVA = "0x1A99B84", Offset = "0x1A99B84", Length = "0x8")]
44 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
45 get
46 {
47 throw null;
48 }
49 }
50
51 [global::Cpp2ILInjected.Token(Token = "0x60001CB")]
52 [global::Cpp2ILInjected.Address(RVA = "0x1A99B8C", Offset = "0x1A99B8C", Length = "0xD0")]
53 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
54 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Type1Message), Member = "GetBytes", ReturnType = typeof(byte[]))]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Type2Message), Member = "GetBytes", ReturnType = typeof(byte[]))]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Type3Message), Member = "GetBytes", ReturnType = typeof(byte[]))]
57 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Buffer), Member = "BlockCopy", MemberParameters = new object[]
59 {
61 typeof(int),
63 typeof(int),
64 typeof(int)
65 }, ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
67 protected byte[] PrepareMessage(int messageSize)
68 {
69 throw null;
70 }
71
72 [global::Cpp2ILInjected.Token(Token = "0x60001CC")]
73 [global::Cpp2ILInjected.Address(RVA = "0x1A99C5C", Offset = "0x1A99C5C", Length = "0x1A0")]
74 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Type1Message), Member = "Decode", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Type2Message), Member = "Decode", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Type3Message), Member = "Decode", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
78 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MessageBase), Member = "CheckHeader", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(bool))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Locale), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
83 {
84 typeof(string),
85 typeof(object),
86 typeof(string)
87 }, ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
89 {
90 typeof(string),
91 typeof(object)
92 }, ReturnType = typeof(string))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentException), Member = ".ctor", MemberParameters = new object[]
94 {
95 typeof(string),
96 typeof(string)
97 }, ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
99 protected virtual void Decode(byte[] message)
100 {
101 throw null;
102 }
103
104 [global::Cpp2ILInjected.Token(Token = "0x60001CD")]
105 [global::Cpp2ILInjected.Address(RVA = "0x1A99DFC", Offset = "0x1A99DFC", Length = "0xD0")]
106 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
107 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBase), Member = "Decode", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverterLE), Member = "ToUInt32", MemberParameters = new object[]
110 {
111 typeof(byte[]),
112 typeof(int)
113 }, ReturnType = typeof(uint))]
114 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
115 protected bool CheckHeader(byte[] message)
116 {
117 throw null;
118 }
119
120 [global::Cpp2ILInjected.Token(Token = "0x60001CE")]
121 public abstract byte[] GetBytes();
122
123 // Note: this type is marked as 'beforefieldinit'.
124 [global::Cpp2ILInjected.Token(Token = "0x60001CF")]
125 [global::Cpp2ILInjected.Address(RVA = "0x1A99ECC", Offset = "0x1A99ECC", Length = "0x94")]
126 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
128 {
129 typeof(Array),
131 }, ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
133 static MessageBase()
134 {
135 throw null;
136 }
137
138 [global::Cpp2ILInjected.Token(Token = "0x40000D5")]
139 private static byte[] header;
140
141 [global::Cpp2ILInjected.Token(Token = "0x40000D6")]
142 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
143 private int _type;
144
145 [global::Cpp2ILInjected.Token(Token = "0x40000D7")]
146 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
148 }
149}
class f__AnonymousType0<< Count > j__TPar
byte[] PrepareMessage(int messageSize)
virtual void Decode(byte[] message)