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
SaveSynchronisationHost.cs
Go to the documentation of this file.
1using System;
2using System.IO;
5using Telepathy;
6using Terraria;
7using Terraria.Net;
8using UnityEngine;
9
10[global::Cpp2ILInjected.Token(Token = "0x20002C6")]
12{
13 [global::Cpp2ILInjected.Token(Token = "0x600106C")]
14 [global::Cpp2ILInjected.Address(RVA = "0xA461F4", Offset = "0xA461F4", Length = "0x10")]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Server), Member = "Start", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
17 public void Start()
18 {
19 throw null;
20 }
21
22 [global::Cpp2ILInjected.Token(Token = "0x600106D")]
23 [global::Cpp2ILInjected.Address(RVA = "0xA46204", Offset = "0xA46204", Length = "0xC")]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Server), Member = "Stop", ReturnType = typeof(void))]
26 public void Close()
27 {
28 throw null;
29 }
30
31 [global::Cpp2ILInjected.Token(Token = "0x600106E")]
32 [global::Cpp2ILInjected.Address(RVA = "0xA46210", Offset = "0xA46210", Length = "0x144")]
33 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationHost), Member = "RequestFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverter), Member = "ToUInt16", MemberParameters = new object[]
37 {
38 typeof(byte[]),
39 typeof(int)
40 }, ReturnType = typeof(ushort))]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Server), Member = "Send", MemberParameters = new object[]
42 {
43 typeof(int),
44 typeof(byte[]),
45 typeof(int)
46 }, ReturnType = typeof(bool))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
49 {
50 typeof(string),
51 typeof(string),
52 typeof(string),
53 typeof(string)
54 }, ReturnType = typeof(string))]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogError", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
57 private void SendDataFunction(byte[] messageData, int length)
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x600106F")]
63 [global::Cpp2ILInjected.Address(RVA = "0xA352E8", Offset = "0xA352E8", Length = "0x3E4")]
64 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
65 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUISaveSynchronisation_FileList), Member = "DrawCategories", ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SavePath", ReturnType = typeof(string))]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
69 {
70 typeof(string),
71 typeof(string)
72 }, ReturnType = typeof(string))]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MemoryStream), Member = ".ctor", ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BinaryWriter), Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation), Member = "WriteMessageLength", MemberParameters = new object[] { typeof(BinaryWriter) }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationHost), Member = "SendDataFunction", MemberParameters = new object[]
77 {
78 typeof(byte[]),
79 typeof(int)
80 }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
82 public void RequestFile(string filename)
83 {
84 throw null;
85 }
86
87 [global::Cpp2ILInjected.Token(Token = "0x6001070")]
88 [global::Cpp2ILInjected.Address(RVA = "0xA350B8", Offset = "0xA350B8", Length = "0x118")]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUISaveSynchronisation_FileList), Member = "DrawCategories", ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationHost), Member = "Update", ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SavePath", ReturnType = typeof(string))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
94 {
95 typeof(string),
96 typeof(string)
97 }, ReturnType = typeof(string))]
98 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation.SendDataFunction), Member = ".ctor", MemberParameters = new object[]
99 {
100 typeof(object),
102 }, ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation_SendFile), Member = ".ctor", MemberParameters = new object[]
104 {
105 typeof(string),
107 }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
109 public void SendFile(string filename)
110 {
111 throw null;
112 }
113
114 [global::Cpp2ILInjected.Token(Token = "0x6001071")]
115 [global::Cpp2ILInjected.Address(RVA = "0xA46354", Offset = "0xA46354", Length = "0x5DC")]
116 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUISaveSynchronisation), Member = "Draw", ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationManager), Member = "Update", ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Common), Member = "GetNextMessage", MemberParameters = new object[] { typeof(ref Message) }, ReturnType = typeof(bool))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Server), Member = "GetClientAddress", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
123 {
124 typeof(string),
125 typeof(string)
126 }, ReturnType = typeof(string))]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TcpAddress), Member = "IsLocalHost", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationManager), Member = "AttemptHostConnection", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(bool))]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation.SendDataFunction), Member = ".ctor", MemberParameters = new object[]
130 {
131 typeof(object),
133 }, ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = ".ctor", MemberParameters = new object[] { typeof(SaveSynchronisationOperation.SendDataFunction) }, ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationManager), Member = "ProcessServerMessage", MemberParameters = new object[]
136 {
138 typeof(byte[]),
140 }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationManager), Member = "Shutdown", ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationManager), Member = "Startup", ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MemoryStream), Member = ".ctor", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BinaryReader), Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation_ReceiveFile), Member = ".ctor", MemberParameters = new object[] { typeof(SaveSynchronisationOperation.SendDataFunction) }, ReturnType = typeof(void))]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationHost), Member = "SendFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 33)]
148 public void Update()
149 {
150 throw null;
151 }
152
153 [global::Cpp2ILInjected.Token(Token = "0x6001072")]
154 [global::Cpp2ILInjected.Address(RVA = "0xA46A78", Offset = "0xA46A78", Length = "0x60")]
155 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationManager), Member = ".ctor", ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Server), Member = ".ctor", ReturnType = typeof(void))]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
161 {
162 throw null;
163 }
164
165 [global::Cpp2ILInjected.Token(Token = "0x4001F50")]
166 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
168
169 [global::Cpp2ILInjected.Token(Token = "0x4001F51")]
170 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
172
173 [global::Cpp2ILInjected.Token(Token = "0x4001F52")]
174 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
175 public int connectedClient;
176}
class f__AnonymousType0<< Count > j__TPar
void RequestFile(string filename)
SaveSynchronisationOperation CurrentOperation
void SendDataFunction(byte[] messageData, int length)
delegate void SendDataFunction(byte[] messageData, int length)