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
SaveSynchronisationClient.cs
Go to the documentation of this file.
1using System;
2using System.IO;
5using Telepathy;
6using Terraria;
7using UnityEngine;
8
9[global::Cpp2ILInjected.Token(Token = "0x20002C3")]
11{
12 [global::Cpp2ILInjected.Token(Token = "0x600105F")]
13 [global::Cpp2ILInjected.Address(RVA = "0xA44910", Offset = "0xA44910", Length = "0x10")]
14 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Client), Member = "Connect", MemberParameters = new object[]
16 {
17 typeof(string),
18 typeof(int)
19 }, ReturnType = typeof(void))]
20 public void Connect(string hostName)
21 {
22 throw null;
23 }
24
25 [global::Cpp2ILInjected.Token(Token = "0x6001060")]
26 [global::Cpp2ILInjected.Address(RVA = "0xA44920", Offset = "0xA44920", Length = "0xC")]
27 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Client), Member = "Disconnect", ReturnType = typeof(void))]
29 public void Close()
30 {
31 throw null;
32 }
33
34 [global::Cpp2ILInjected.Token(Token = "0x6001061")]
35 [global::Cpp2ILInjected.Address(RVA = "0xA4492C", Offset = "0xA4492C", Length = "0x140")]
36 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
37 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationClient), Member = "RequestFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverter), Member = "ToUInt16", MemberParameters = new object[]
40 {
41 typeof(byte[]),
42 typeof(int)
43 }, ReturnType = typeof(ushort))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Client), Member = "Send", MemberParameters = new object[]
45 {
46 typeof(byte[]),
47 typeof(int)
48 }, ReturnType = typeof(bool))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
51 {
52 typeof(string),
53 typeof(string),
54 typeof(string),
55 typeof(string)
56 }, ReturnType = typeof(string))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogError", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
59 private void SendDataFunction(byte[] messageData, int length)
60 {
61 throw null;
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x6001062")]
65 [global::Cpp2ILInjected.Address(RVA = "0xA356CC", Offset = "0xA356CC", Length = "0x3E4")]
66 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
67 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUISaveSynchronisation_FileList), Member = "DrawCategories", ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SavePath", ReturnType = typeof(string))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
71 {
72 typeof(string),
73 typeof(string)
74 }, ReturnType = typeof(string))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MemoryStream), Member = ".ctor", ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BinaryWriter), Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation), Member = "WriteMessageLength", MemberParameters = new object[] { typeof(BinaryWriter) }, ReturnType = typeof(void))]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationClient), Member = "SendDataFunction", MemberParameters = new object[]
79 {
80 typeof(byte[]),
81 typeof(int)
82 }, ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
84 public void RequestFile(string filename)
85 {
86 throw null;
87 }
88
89 [global::Cpp2ILInjected.Token(Token = "0x6001063")]
90 [global::Cpp2ILInjected.Address(RVA = "0xA351D0", Offset = "0xA351D0", Length = "0x118")]
91 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUISaveSynchronisation_FileList), Member = "DrawCategories", ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationClient), Member = "Update", ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SavePath", ReturnType = typeof(string))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
96 {
97 typeof(string),
98 typeof(string)
99 }, ReturnType = typeof(string))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation.SendDataFunction), Member = ".ctor", MemberParameters = new object[]
101 {
102 typeof(object),
104 }, ReturnType = typeof(void))]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation_SendFile), Member = ".ctor", MemberParameters = new object[]
106 {
107 typeof(string),
109 }, ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
111 public void SendFile(string filename)
112 {
113 throw null;
114 }
115
116 [global::Cpp2ILInjected.Token(Token = "0x6001064")]
117 [global::Cpp2ILInjected.Address(RVA = "0xA44EE4", Offset = "0xA44EE4", Length = "0x584")]
118 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUISaveSynchronisation), Member = "Draw", ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationManager), Member = "Update", ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Common), Member = "GetNextMessage", MemberParameters = new object[] { typeof(ref Message) }, ReturnType = typeof(bool))]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationManager), Member = "AttemptClientConnection", ReturnType = typeof(bool))]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation.SendDataFunction), Member = ".ctor", MemberParameters = new object[]
125 {
126 typeof(object),
128 }, ReturnType = typeof(void))]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = ".ctor", MemberParameters = new object[] { typeof(SaveSynchronisationOperation.SendDataFunction) }, ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationState), Member = "ProcessMessage", MemberParameters = new object[]
131 {
133 typeof(byte[])
134 }, ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationState), Member = "ProcessMessageResponse", MemberParameters = new object[]
136 {
139 }, ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationManager), Member = "Shutdown", ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationManager), Member = "Startup", ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MemoryStream), Member = ".ctor", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BinaryReader), Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation_ReceiveFile), Member = ".ctor", MemberParameters = new object[] { typeof(SaveSynchronisationOperation.SendDataFunction) }, ReturnType = typeof(void))]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationClient), Member = "SendFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
146 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 31)]
147 public void Update()
148 {
149 throw null;
150 }
151
152 [global::Cpp2ILInjected.Token(Token = "0x6001065")]
153 [global::Cpp2ILInjected.Address(RVA = "0xA455FC", Offset = "0xA455FC", Length = "0x60")]
154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationManager), Member = ".ctor", ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Client), Member = ".ctor", ReturnType = typeof(void))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
158 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
160 {
161 throw null;
162 }
163
164 [global::Cpp2ILInjected.Token(Token = "0x4001F42")]
165 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
167
168 [global::Cpp2ILInjected.Token(Token = "0x4001F43")]
169 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
171}
class f__AnonymousType0<< Count > j__TPar
void SendDataFunction(byte[] messageData, int length)
SaveSynchronisationOperation CurrentOperation
delegate void SendDataFunction(byte[] messageData, int length)