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
SaveSynchronisationOperation.cs
Go to the documentation of this file.
1using System;
2using System.IO;
5using Terraria.IO;
6
7[global::Cpp2ILInjected.Token(Token = "0x20002C9")]
9{
10 [global::Cpp2ILInjected.Token(Token = "0x600107E")]
11 [global::Cpp2ILInjected.Address(RVA = "0xA46AD8", Offset = "0xA46AD8", Length = "0x28")]
12 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = ".ctor", MemberParameters = new object[] { typeof(SaveSynchronisationOperation.SendDataFunction) }, ReturnType = typeof(void))]
13 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
14 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
19
20 [global::Cpp2ILInjected.Token(Token = "0x600107F")]
21 [global::Cpp2ILInjected.Address(RVA = "0xA46B00", Offset = "0xA46B00", Length = "0x4")]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
23 public virtual void Begin()
24 {
25 throw null;
26 }
27
28 [global::Cpp2ILInjected.Token(Token = "0x6001080")]
29 [global::Cpp2ILInjected.Address(RVA = "0xA46B04", Offset = "0xA46B04", Length = "0xB0")]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_ReceiveFile), Member = "ProcessMessage", MemberParameters = new object[]
31 {
33 typeof(byte[])
34 }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "Begin", ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "SendNextFile", ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
38 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
40 {
41 throw null;
42 }
43
44 [global::Cpp2ILInjected.Token(Token = "0x6001081")]
45 [global::Cpp2ILInjected.Address(RVA = "0xA44A6C", Offset = "0xA44A6C", Length = "0x40")]
46 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "SendPlayerFile", MemberParameters = new object[] { typeof(PlayerFileData) }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "SendWorldFile", MemberParameters = new object[] { typeof(WorldFileData) }, ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
50 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
52 {
53 throw null;
54 }
55
56 [global::Cpp2ILInjected.Token(Token = "0x6001082")]
57 [global::Cpp2ILInjected.Address(RVA = "0xA44AAC", Offset = "0xA44AAC", Length = "0x84")]
58 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationClient), Member = "RequestFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationHost), Member = "RequestFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFile), Member = "Begin", ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "SendPlayerFile", MemberParameters = new object[] { typeof(PlayerFileData) }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "SendWorldFile", MemberParameters = new object[] { typeof(WorldFileData) }, ReturnType = typeof(void))]
64 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
65 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
67 {
68 throw null;
69 }
70
71 [global::Cpp2ILInjected.Token(Token = "0x6001083")]
72 [global::Cpp2ILInjected.Address(RVA = "0xA46BB4", Offset = "0xA46BB4", Length = "0x4")]
73 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
75 {
76 throw null;
77 }
78
79 [global::Cpp2ILInjected.Token(Token = "0x6001084")]
80 [global::Cpp2ILInjected.Address(RVA = "0xA46BB8", Offset = "0xA46BB8", Length = "0x4")]
81 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
82 public virtual void Cancel()
83 {
84 throw null;
85 }
86
87 [global::Cpp2ILInjected.Token(Token = "0x6001085")]
88 [global::Cpp2ILInjected.Address(RVA = "0xA46BBC", Offset = "0xA46BBC", Length = "0x48")]
89 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
90 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
91 public virtual string GetStatus()
92 {
93 throw null;
94 }
95
96 // Note: this type is marked as 'beforefieldinit'.
97 [global::Cpp2ILInjected.Token(Token = "0x6001086")]
98 [global::Cpp2ILInjected.Address(RVA = "0xA46C04", Offset = "0xA46C04", Length = "0x68")]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
100 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
102 {
103 throw null;
104 }
105
106 [global::Cpp2ILInjected.Token(Token = "0x4001F60")]
107 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
109
110 [global::Cpp2ILInjected.Token(Token = "0x4001F61")]
111 private static byte[] emptyMessageData;
112
113 [global::Cpp2ILInjected.Token(Token = "0x4001F62")]
114 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
115 public bool IsComplete;
116
117 [global::Cpp2ILInjected.Token(Token = "0x20002CA")]
118 public enum MessageId
119 {
120 [global::Cpp2ILInjected.Token(Token = "0x4001F64")]
122 [global::Cpp2ILInjected.Token(Token = "0x4001F65")]
124 [global::Cpp2ILInjected.Token(Token = "0x4001F66")]
126 [global::Cpp2ILInjected.Token(Token = "0x4001F67")]
128 [global::Cpp2ILInjected.Token(Token = "0x4001F68")]
130 [global::Cpp2ILInjected.Token(Token = "0x4001F69")]
132 [global::Cpp2ILInjected.Token(Token = "0x4001F6A")]
134 [global::Cpp2ILInjected.Token(Token = "0x4001F6B")]
135 FileData,
136 [global::Cpp2ILInjected.Token(Token = "0x4001F6C")]
138 }
139
140 [global::Cpp2ILInjected.Token(Token = "0x20002CB")]
141 public delegate void SendDataFunction(byte[] messageData, int length);
142}
class f__AnonymousType0<< Count > j__TPar
readonly SaveSynchronisationOperation.SendDataFunction SendData
static void WriteMessageHeader(BinaryWriter packet, SaveSynchronisationOperation.MessageId id)
delegate void SendDataFunction(byte[] messageData, int length)
void SendEmptyMessage(SaveSynchronisationOperation.MessageId id)
SaveSynchronisationOperation(SaveSynchronisationOperation.SendDataFunction sendOperation)
static void WriteMessageLength(BinaryWriter packet)
virtual void ProcessMessage(SaveSynchronisationOperation.MessageId messageId, byte[] data)