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
ObjRef.cs
Go to the documentation of this file.
1using System;
3using System.IO;
10using Cpp2ILInjected;
12
14{
15 [global::System.Runtime.InteropServices.ComVisible(true)]
16 [global::Cpp2ILInjected.Token(Token = "0x2000342")]
17 [global::System.Serializable]
18 public class ObjRef : global::System.Runtime.Serialization.IObjectReference, global::System.Runtime.Serialization.ISerializable
19 {
20 [global::Cpp2ILInjected.Token(Token = "0x6001BD4")]
21 [global::Cpp2ILInjected.Address(RVA = "0x1B2566C", Offset = "0x1B2566C", Length = "0x1C")]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
24 public ObjRef()
25 {
26 throw null;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x6001BD5")]
30 [global::Cpp2ILInjected.Address(RVA = "0x1B256DC", Offset = "0x1B256DC", Length = "0x2C")]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
33 internal ObjRef(string uri, IChannelInfo cinfo)
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x6001BD6")]
39 [global::Cpp2ILInjected.Address(RVA = "0x1B25708", Offset = "0x1B25708", Length = "0x124")]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.Remoting.Messaging.CADMessageBase), Member = "UnmarshalArgument", MemberParameters = new object[]
41 {
42 typeof(object),
43 typeof(global::System.Collections.ArrayList)
44 }, ReturnType = typeof(object))]
45 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Copy", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Remoting.Channels.CrossAppDomainData), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChannelInfo), Member = ".ctor", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Remoting.Channels.CADSerializer), Member = "DeserializeObjectSafe", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(object))]
51 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
53 {
54 throw null;
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x6001BD7")]
58 [global::Cpp2ILInjected.Address(RVA = "0x1B2582C", Offset = "0x1B2582C", Length = "0x70")]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.Remoting.Messaging.CADObjRef), Member = ".ctor", MemberParameters = new object[]
60 {
61 typeof(ObjRef),
62 typeof(int)
63 }, ReturnType = typeof(void))]
64 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.Remoting.Messaging.CADMessageBase), Member = "MarshalArgument", MemberParameters = new object[]
65 {
66 typeof(object),
67 typeof(ref global::System.Collections.ArrayList)
68 }, ReturnType = typeof(object))]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
70 [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))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Exception), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
73 internal byte[] SerializeType()
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x6001BD8")]
79 [global::Cpp2ILInjected.Address(RVA = "0x1B2589C", Offset = "0x1B2589C", Length = "0xF4")]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RemotingServices), Member = "Connect", MemberParameters = new object[]
81 {
82 typeof(global::System.Type),
83 typeof(string)
84 }, ReturnType = typeof(object))]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RemotingServices), Member = "Connect", MemberParameters = new object[]
86 {
87 typeof(global::System.Type),
88 typeof(string),
89 typeof(object)
90 }, ReturnType = typeof(object))]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TypeInfo), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Type) }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChannelInfo), Member = ".ctor", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
96 internal ObjRef(global::System.Type type, string url, object remoteChannelData)
97 {
98 throw null;
99 }
100
101 [global::Cpp2ILInjected.Token(Token = "0x6001BD9")]
102 [global::Cpp2ILInjected.Address(RVA = "0x1B25990", Offset = "0x1B25990", Length = "0x4F0")]
103 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "GetEnumerator", ReturnType = typeof(global::System.Runtime.Serialization.SerializationInfoEnumerator))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfoEnumerator), Member = "MoveNext", ReturnType = typeof(bool))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfoEnumerator), Member = "get_Name", ReturnType = typeof(string))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
110 {
111 typeof(string),
112 typeof(string)
113 }, ReturnType = typeof(bool))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfoEnumerator), Member = "get_Value", ReturnType = typeof(object))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Convert), Member = "ToInt32", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(int))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 31)]
118 protected ObjRef(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
119 {
120 throw null;
121 }
122
123 [global::Cpp2ILInjected.Token(Token = "0x17000334")]
125 {
126 [global::Cpp2ILInjected.Token(Token = "0x6001BDA")]
127 [global::Cpp2ILInjected.Address(RVA = "0x1B25E80", Offset = "0x1B25E80", Length = "0x68")]
128 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RemotingServices), Member = "Unmarshal", MemberParameters = new object[]
130 {
131 typeof(ObjRef),
132 typeof(bool)
133 }, ReturnType = typeof(object))]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.Remoting.Proxies.RemotingProxy), Member = "CanCastTo", MemberParameters = new object[]
135 {
136 typeof(global::System.Type),
137 typeof(object)
138 }, ReturnType = typeof(bool))]
139 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
140 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
141 get
142 {
143 throw null;
144 }
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x17000335")]
149 {
150 [global::System.Runtime.ConstrainedExecution.ReliabilityContract(global::System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, global::System.Runtime.ConstrainedExecution.Cer.Success)]
151 [global::Cpp2ILInjected.Token(Token = "0x6001BDB")]
152 [global::Cpp2ILInjected.Address(RVA = "0x1B25EE8", Offset = "0x1B25EE8", Length = "0x8")]
153 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
154 get
155 {
156 throw null;
157 }
158 }
159
160 [global::Cpp2ILInjected.Token(Token = "0x17000336")]
161 public virtual IEnvoyInfo EnvoyInfo
162 {
163 [global::Cpp2ILInjected.Token(Token = "0x6001BDC")]
164 [global::Cpp2ILInjected.Address(RVA = "0x1B25EF0", Offset = "0x1B25EF0", Length = "0x8")]
165 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
166 get
167 {
168 throw null;
169 }
170 [global::Cpp2ILInjected.Token(Token = "0x6001BDD")]
171 [global::Cpp2ILInjected.Address(RVA = "0x1B25EF8", Offset = "0x1B25EF8", Length = "0x8")]
172 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
173 set
174 {
175 throw null;
176 }
177 }
178
179 [global::Cpp2ILInjected.Token(Token = "0x17000337")]
181 {
182 [global::Cpp2ILInjected.Token(Token = "0x6001BDE")]
183 [global::Cpp2ILInjected.Address(RVA = "0x1B25F00", Offset = "0x1B25F00", Length = "0x8")]
184 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
185 get
186 {
187 throw null;
188 }
189 [global::Cpp2ILInjected.Token(Token = "0x6001BDF")]
190 [global::Cpp2ILInjected.Address(RVA = "0x1B25F08", Offset = "0x1B25F08", Length = "0x8")]
191 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
192 set
193 {
194 throw null;
195 }
196 }
197
198 [global::Cpp2ILInjected.Token(Token = "0x17000338")]
199 public virtual string URI
200 {
201 [global::Cpp2ILInjected.Token(Token = "0x6001BE0")]
202 [global::Cpp2ILInjected.Address(RVA = "0x1B25F10", Offset = "0x1B25F10", Length = "0x8")]
203 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
204 get
205 {
206 throw null;
207 }
208 [global::Cpp2ILInjected.Token(Token = "0x6001BE1")]
209 [global::Cpp2ILInjected.Address(RVA = "0x1B25F18", Offset = "0x1B25F18", Length = "0x8")]
210 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
211 set
212 {
213 throw null;
214 }
215 }
216
217 [global::Cpp2ILInjected.Token(Token = "0x6001BE2")]
218 [global::Cpp2ILInjected.Address(RVA = "0x1B25F20", Offset = "0x1B25F20", Length = "0x1D0")]
219 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
220 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
221 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "SetType", MemberParameters = new object[] { typeof(global::System.Type) }, ReturnType = typeof(void))]
222 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
223 {
224 typeof(string),
225 typeof(object)
226 }, ReturnType = typeof(void))]
227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
229 {
230 typeof(string),
231 typeof(object),
232 typeof(global::System.Type)
233 }, ReturnType = typeof(void))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
235 {
236 typeof(string),
237 typeof(int)
238 }, ReturnType = typeof(void))]
239 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
240 public virtual void GetObjectData(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
241 {
242 throw null;
243 }
244
245 [global::Cpp2ILInjected.Token(Token = "0x6001BE3")]
246 [global::Cpp2ILInjected.Address(RVA = "0x1B260F0", Offset = "0x1B260F0", Length = "0xA4")]
247 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
248 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
249 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
250 public virtual object GetRealObject(global::System.Runtime.Serialization.StreamingContext context)
251 {
252 throw null;
253 }
254
255 [global::Cpp2ILInjected.Token(Token = "0x6001BE4")]
256 [global::Cpp2ILInjected.Address(RVA = "0x1B25688", Offset = "0x1B25688", Length = "0x54")]
257 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ServerIdentity), Member = "CreateObjRef", MemberParameters = new object[] { typeof(global::System.Type) }, ReturnType = typeof(ObjRef))]
258 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
259 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChannelInfo), Member = ".ctor", ReturnType = typeof(void))]
260 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
261 internal void UpdateChannelInfo()
262 {
263 throw null;
264 }
265
266 [global::Cpp2ILInjected.Token(Token = "0x17000339")]
267 internal global::System.Type ServerType
268 {
269 [global::Cpp2ILInjected.Token(Token = "0x6001BE5")]
270 [global::Cpp2ILInjected.Address(RVA = "0x1B261EC", Offset = "0x1B261EC", Length = "0x13C")]
271 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
272 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RemotingServices), Member = "Unmarshal", MemberParameters = new object[]
273 {
274 typeof(ObjRef),
275 typeof(bool)
276 }, ReturnType = typeof(object))]
277 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
278 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "op_Equality", MemberParameters = new object[]
279 {
280 typeof(global::System.Type),
281 typeof(global::System.Type)
282 }, ReturnType = typeof(bool))]
283 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
284 get
285 {
286 throw null;
287 }
288 }
289
290 // Note: this type is marked as 'beforefieldinit'.
291 [global::Cpp2ILInjected.Token(Token = "0x6001BE6")]
292 [global::Cpp2ILInjected.Address(RVA = "0x1B26328", Offset = "0x1B26328", Length = "0x50")]
293 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
294 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
295 static ObjRef()
296 {
297 throw null;
298 }
299
300 [global::Cpp2ILInjected.Token(Token = "0x4000E2A")]
301 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
303
304 [global::Cpp2ILInjected.Token(Token = "0x4000E2B")]
305 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
306 private string uri;
307
308 [global::Cpp2ILInjected.Token(Token = "0x4000E2C")]
309 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
311
312 [global::Cpp2ILInjected.Token(Token = "0x4000E2D")]
313 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
315
316 [global::Cpp2ILInjected.Token(Token = "0x4000E2E")]
317 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
318 private int flags;
319
320 [global::Cpp2ILInjected.Token(Token = "0x4000E2F")]
321 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
322 private global::System.Type _serverType;
323
324 [global::Cpp2ILInjected.Token(Token = "0x4000E30")]
325 private static int MarshalledObjectRef;
326
327 [global::Cpp2ILInjected.Token(Token = "0x4000E31")]
328 private static int WellKnowObjectRef;
329 }
330}
class f__AnonymousType0<< Count > j__TPar
ObjRef DeserializeInTheCurrentDomain(int domainId, byte[] tInfo)
Definition ObjRef.cs:52
virtual object GetRealObject(global::System.Runtime.Serialization.StreamingContext context)
Definition ObjRef.cs:250
IRemotingTypeInfo typeInfo
Definition ObjRef.cs:310
global::System.Type ServerType
Definition ObjRef.cs:268
virtual void GetObjectData(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
Definition ObjRef.cs:240
ObjRef(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
Definition ObjRef.cs:118
global::System.Type _serverType
Definition ObjRef.cs:322
ObjRef(global::System.Type type, string url, object remoteChannelData)
Definition ObjRef.cs:96
ObjRef(string uri, IChannelInfo cinfo)
Definition ObjRef.cs:33