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
CADMessageBase.cs
Go to the documentation of this file.
1using System;
3using System.IO;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x200039E")]
13 internal class CADMessageBase
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6001DC2")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1B454E4", Offset = "0x1B454E4", Length = "0x88")]
17 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodCallMessage), Member = ".ctor", MemberParameters = new object[] { typeof(IMethodCallMessage) }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodReturnMessage), Member = ".ctor", MemberParameters = new object[] { typeof(IMethodReturnMessage) }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CADMethodRef), Member = ".ctor", MemberParameters = new object[] { typeof(IMethodMessage) }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Remoting.Channels.CADSerializer), Member = "SerializeObject", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(global::System.IO.MemoryStream))]
24 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
26 {
27 throw null;
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x6001DC3")]
31 [global::Cpp2ILInjected.Address(RVA = "0x1B4556C", Offset = "0x1B4556C", Length = "0x7C")]
32 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodReturnMessage), Member = ".ctor", MemberParameters = new object[] { typeof(IMethodReturnMessage) }, ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MethodCall), Member = ".ctor", MemberParameters = new object[] { typeof(CADMethodCallMessage) }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Remoting.Channels.CADSerializer), Member = "DeserializeObjectSafe", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(object))]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CADMethodRef), Member = "Resolve", ReturnType = typeof(global::System.Reflection.MethodBase))]
38 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
39 internal global::System.Reflection.MethodBase GetMethod()
40 {
41 throw null;
42 }
43
44 [global::Cpp2ILInjected.Token(Token = "0x6001DC4")]
45 [global::Cpp2ILInjected.Address(RVA = "0x1B455E8", Offset = "0x1B455E8", Length = "0x180")]
46 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodReturnMessage), Member = ".ctor", MemberParameters = new object[] { typeof(IMethodReturnMessage) }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
49 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
50 protected static global::System.Type[] GetSignature(global::System.Reflection.MethodBase methodBase, bool load)
51 {
52 throw null;
53 }
54
55 [global::Cpp2ILInjected.Token(Token = "0x6001DC5")]
56 [global::Cpp2ILInjected.Address(RVA = "0x1B45768", Offset = "0x1B45768", Length = "0x6F8")]
57 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodCallMessage), Member = ".ctor", MemberParameters = new object[] { typeof(IMethodCallMessage) }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodReturnMessage), Member = ".ctor", MemberParameters = new object[] { typeof(IMethodReturnMessage) }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.ArrayList), Member = ".ctor", ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MessageDictionary), Member = "HasUserData", ReturnType = typeof(bool))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MessageDictionary), Member = "get_InternalDictionary", ReturnType = typeof(global::System.Collections.IDictionary))]
64 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 38)]
65 internal static int MarshalProperties(global::System.Collections.IDictionary dict, ref global::System.Collections.ArrayList args)
66 {
67 throw null;
68 }
69
70 [global::Cpp2ILInjected.Token(Token = "0x6001DC6")]
71 [global::Cpp2ILInjected.Address(RVA = "0x1B45FE4", Offset = "0x1B45FE4", Length = "0x12C")]
72 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MethodCall), Member = ".ctor", MemberParameters = new object[] { typeof(CADMethodCallMessage) }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MethodResponse), Member = ".ctor", MemberParameters = new object[]
75 {
76 typeof(IMethodCallMessage),
77 typeof(CADMethodReturnMessage)
78 }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
80 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
81 internal static void UnmarshalProperties(global::System.Collections.IDictionary dict, int count, global::System.Collections.ArrayList args)
82 {
83 throw null;
84 }
85
86 [global::Cpp2ILInjected.Token(Token = "0x6001DC7")]
87 [global::Cpp2ILInjected.Address(RVA = "0x1B46110", Offset = "0x1B46110", Length = "0x1B0")]
88 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMessageBase), Member = "MarshalArgument", MemberParameters = new object[]
90 {
91 typeof(object),
92 typeof(ref global::System.Collections.ArrayList)
93 }, ReturnType = typeof(object))]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "get_IsPrimitive", ReturnType = typeof(bool))]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
98 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "op_Equality", MemberParameters = new object[]
99 {
100 typeof(global::System.Type),
101 typeof(global::System.Type)
102 }, ReturnType = typeof(bool))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "get_IsArray", ReturnType = typeof(bool))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "get_Rank", ReturnType = typeof(int))]
105 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
106 private static bool IsPossibleToIgnoreMarshal(object obj)
107 {
108 throw null;
109 }
110
111 [global::Cpp2ILInjected.Token(Token = "0x6001DC8")]
112 [global::Cpp2ILInjected.Address(RVA = "0x1B462C0", Offset = "0x1B462C0", Length = "0x1CC")]
113 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
114 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMessageBase), Member = "MarshalArguments", MemberParameters = new object[]
115 {
116 typeof(object[]),
117 typeof(ref global::System.Collections.ArrayList)
118 }, ReturnType = typeof(object[]))]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodReturnMessage), Member = ".ctor", MemberParameters = new object[] { typeof(IMethodReturnMessage) }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CADMessageBase), Member = "IsPossibleToIgnoreMarshal", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RemotingServices), Member = "IsTransparentProxy", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.ArrayList), Member = ".ctor", ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RemotingServices), Member = "Marshal", MemberParameters = new object[] { typeof(global::System.MarshalByRefObject) }, ReturnType = typeof(ObjRef))]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Thread), Member = "GetDomainID", ReturnType = typeof(int))]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ObjRef), Member = "SerializeType", ReturnType = typeof(byte[]))]
128 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
129 protected object MarshalArgument(object arg, ref global::System.Collections.ArrayList args)
130 {
131 throw null;
132 }
133
134 [global::Cpp2ILInjected.Token(Token = "0x6001DC9")]
135 [global::Cpp2ILInjected.Address(RVA = "0x1B4648C", Offset = "0x1B4648C", Length = "0x70C")]
136 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMessageBase), Member = "UnmarshalArguments", MemberParameters = new object[]
138 {
139 typeof(object[]),
140 typeof(global::System.Collections.ArrayList)
141 }, ReturnType = typeof(object[]))]
142 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodReturnMessage), Member = "GetReturnValue", MemberParameters = new object[] { typeof(global::System.Collections.ArrayList) }, ReturnType = typeof(object))]
143 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MethodResponse), Member = ".ctor", MemberParameters = new object[]
144 {
145 typeof(IMethodCallMessage),
146 typeof(CADMethodReturnMessage)
147 }, ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeCode", MemberParameters = new object[] { typeof(global::System.Type) }, ReturnType = typeof(global::System.TypeCode))]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ObjRef), Member = "DeserializeInTheCurrentDomain", MemberParameters = new object[]
152 {
153 typeof(int),
154 typeof(byte[])
155 }, ReturnType = typeof(ObjRef))]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RemotingServices), Member = "Unmarshal", MemberParameters = new object[] { typeof(ObjRef) }, ReturnType = typeof(object))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "get_Length", ReturnType = typeof(int))]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "CopyTo", MemberParameters = new object[]
159 {
160 typeof(global::System.Array),
161 typeof(int)
162 }, ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.DateTime), Member = "get_Ticks", ReturnType = typeof(long))]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.DateTime), Member = ".ctor", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Copy", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
168 {
169 typeof(string),
170 typeof(string),
171 typeof(string)
172 }, ReturnType = typeof(string))]
173 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
174 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 60)]
175 protected object UnmarshalArgument(object arg, global::System.Collections.ArrayList args)
176 {
177 throw null;
178 }
179
180 [global::Cpp2ILInjected.Token(Token = "0x6001DCA")]
181 [global::Cpp2ILInjected.Address(RVA = "0x1B46B98", Offset = "0x1B46B98", Length = "0xC4")]
182 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
183 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodCallMessage), Member = ".ctor", MemberParameters = new object[] { typeof(IMethodCallMessage) }, ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodReturnMessage), Member = ".ctor", MemberParameters = new object[] { typeof(IMethodReturnMessage) }, ReturnType = typeof(void))]
185 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CADMessageBase), Member = "MarshalArgument", MemberParameters = new object[]
187 {
188 typeof(object),
189 typeof(ref global::System.Collections.ArrayList)
190 }, ReturnType = typeof(object))]
191 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
192 internal object[] MarshalArguments(object[] arguments, ref global::System.Collections.ArrayList args)
193 {
194 throw null;
195 }
196
197 [global::Cpp2ILInjected.Token(Token = "0x6001DCB")]
198 [global::Cpp2ILInjected.Address(RVA = "0x1B46C5C", Offset = "0x1B46C5C", Length = "0xC4")]
199 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodCallMessage), Member = "GetArgs", MemberParameters = new object[] { typeof(global::System.Collections.ArrayList) }, ReturnType = typeof(object[]))]
201 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodReturnMessage), Member = "GetArgs", MemberParameters = new object[] { typeof(global::System.Collections.ArrayList) }, ReturnType = typeof(object[]))]
202 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MethodCall), Member = ".ctor", MemberParameters = new object[] { typeof(CADMethodCallMessage) }, ReturnType = typeof(void))]
203 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MethodResponse), Member = ".ctor", MemberParameters = new object[]
204 {
205 typeof(IMethodCallMessage),
206 typeof(CADMethodReturnMessage)
207 }, ReturnType = typeof(void))]
208 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
209 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CADMessageBase), Member = "UnmarshalArgument", MemberParameters = new object[]
210 {
211 typeof(object),
212 typeof(global::System.Collections.ArrayList)
213 }, ReturnType = typeof(object))]
214 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
215 internal object[] UnmarshalArguments(object[] arguments, global::System.Collections.ArrayList args)
216 {
217 throw null;
218 }
219
220 [global::Cpp2ILInjected.Token(Token = "0x6001DCC")]
221 [global::Cpp2ILInjected.Address(RVA = "0x1B46D20", Offset = "0x1B46D20", Length = "0x224")]
222 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
223 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodCallMessage), Member = ".ctor", MemberParameters = new object[] { typeof(IMethodCallMessage) }, ReturnType = typeof(void))]
224 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CADMethodReturnMessage), Member = ".ctor", MemberParameters = new object[] { typeof(IMethodReturnMessage) }, ReturnType = typeof(void))]
225 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
226 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LogicalCallContext), Member = "get_HasInfo", ReturnType = typeof(bool))]
227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.ArrayList), Member = ".ctor", ReturnType = typeof(void))]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
229 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
230 protected void SaveLogicalCallContext(IMethodMessage msg, ref global::System.Collections.ArrayList serializeList)
231 {
232 throw null;
233 }
234
235 [global::Cpp2ILInjected.Token(Token = "0x6001DCD")]
236 [global::Cpp2ILInjected.Address(RVA = "0x1B46F44", Offset = "0x1B46F44", Length = "0x80")]
237 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
238 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MethodCall), Member = ".ctor", MemberParameters = new object[] { typeof(CADMethodCallMessage) }, ReturnType = typeof(void))]
239 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MethodResponse), Member = ".ctor", MemberParameters = new object[]
240 {
241 typeof(IMethodCallMessage),
242 typeof(CADMethodReturnMessage)
243 }, ReturnType = typeof(void))]
244 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
245 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
246 internal LogicalCallContext GetLogicalCallContext(global::System.Collections.ArrayList args)
247 {
248 throw null;
249 }
250
251 [global::Cpp2ILInjected.Token(Token = "0x4000F0D")]
252 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
253 protected object[] _args;
254
255 [global::Cpp2ILInjected.Token(Token = "0x4000F0E")]
256 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
257 protected byte[] _serializedArgs;
258
259 [global::Cpp2ILInjected.Token(Token = "0x4000F0F")]
260 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
261 protected int _propertyCount;
262
263 [global::Cpp2ILInjected.Token(Token = "0x4000F10")]
264 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
266
267 [global::Cpp2ILInjected.Token(Token = "0x4000F11")]
268 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
269 internal byte[] serializedMethod;
270 }
271}
class f__AnonymousType0<< Count > j__TPar
static global::System.Type[] GetSignature(global::System.Reflection.MethodBase methodBase, bool load)
object MarshalArgument(object arg, ref global::System.Collections.ArrayList args)
object[] UnmarshalArguments(object[] arguments, global::System.Collections.ArrayList args)
static int MarshalProperties(global::System.Collections.IDictionary dict, ref global::System.Collections.ArrayList args)
void SaveLogicalCallContext(IMethodMessage msg, ref global::System.Collections.ArrayList serializeList)
object UnmarshalArgument(object arg, global::System.Collections.ArrayList args)
global::System.Reflection.MethodBase GetMethod()
LogicalCallContext GetLogicalCallContext(global::System.Collections.ArrayList args)
static void UnmarshalProperties(global::System.Collections.IDictionary dict, int count, global::System.Collections.ArrayList args)
object[] MarshalArguments(object[] arguments, ref global::System.Collections.ArrayList args)
TypeCode
Definition TypeCode.cs:8