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
SerializationObjectManager.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x020003D5 RID: 981
8 public sealed class SerializationObjectManager
9 {
10 // Token: 0x06001EFA RID: 7930 RVA: 0x00043A74 File Offset: 0x00041C74
12 {
13 this._context = context;
14 }
15
16 // Token: 0x06001EFB RID: 7931 RVA: 0x00043A90 File Offset: 0x00041C90
17 public void RegisterObject(object obj)
18 {
20 if (serializationEventsForType._onSerializingMethods != null || serializationEventsForType._onSerializedMethods != null)
21 {
23 StreamingContext context = this._context;
25 serializationEventsForType.InvokeOnSerializing(obj, context);
26 this.AddOnSerialized(obj);
27 }
28 }
29
30 // Token: 0x06001EFC RID: 7932 RVA: 0x00043AE4 File Offset: 0x00041CE4
32 {
34 if (onSerializedHandler != null)
35 {
36 StreamingContext context = this._context;
38 IntPtr invoke_impl = onSerializedHandler.invoke_impl;
39 IntPtr method_code = onSerializedHandler.method_code;
40 IntPtr method = onSerializedHandler.method;
41 return;
42 }
43 }
44
45 // Token: 0x06001EFD RID: 7933 RVA: 0x00043B28 File Offset: 0x00041D28
54
55 // Token: 0x04000F88 RID: 3976
57
58 // Token: 0x04000F89 RID: 3977
60
61 // Token: 0x04000F8A RID: 3978
63 }
64}
class f__AnonymousType0<< Count > j__TPar
static SerializationEventHandler AddOnDelegate(object obj, SerializationEventHandler handler, List< MethodInfo > methods)
void InvokeOnSerializing(object obj, StreamingContext context)
readonly StreamingContextStates m_state