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_SendFileList.cs
Go to the documentation of this file.
1using System;
3using System.IO;
6using Terraria;
7using Terraria.IO;
8
9[global::Cpp2ILInjected.Token(Token = "0x20002CE")]
11{
12 [global::Cpp2ILInjected.Token(Token = "0x6001096")]
13 [global::Cpp2ILInjected.Address(RVA = "0xA47EBC", Offset = "0xA47EBC", Length = "0x68")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationClient), Member = "Update", ReturnType = typeof(void))]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationHost), Member = "Update", ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation), Member = ".ctor", MemberParameters = new object[] { typeof(SaveSynchronisationOperation.SendDataFunction) }, ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
23
24 [global::Cpp2ILInjected.Token(Token = "0x6001097")]
25 [global::Cpp2ILInjected.Address(RVA = "0xA47F24", Offset = "0xA47F24", Length = "0x38")]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation), Member = "SendEmptyMessage", MemberParameters = new object[] { typeof(SaveSynchronisationOperation.MessageId) }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "SendNextFile", ReturnType = typeof(void))]
29 public override void Begin()
30 {
31 throw null;
32 }
33
34 [global::Cpp2ILInjected.Token(Token = "0x6001098")]
35 [global::Cpp2ILInjected.Address(RVA = "0xA480A8", Offset = "0xA480A8", Length = "0x458")]
36 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
37 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "SendNextFile", ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MemoryStream), Member = ".ctor", ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BinaryWriter), Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation), Member = "WriteMessageHeader", MemberParameters = new object[]
42 {
45 }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileMetadata), Member = "Write", MemberParameters = new object[] { typeof(BinaryWriter) }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SavePath", ReturnType = typeof(string))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
49 {
50 typeof(string),
51 typeof(string)
52 }, ReturnType = typeof(string))]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerFileData), Member = "GetPlayTime", ReturnType = typeof(TimeSpan))]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "WritePlayerData", MemberParameters = new object[]
55 {
58 }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation), Member = "WriteMessageLength", MemberParameters = new object[] { typeof(BinaryWriter) }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
62 {
63 throw null;
64 }
65
66 [global::Cpp2ILInjected.Token(Token = "0x6001099")]
67 [global::Cpp2ILInjected.Address(RVA = "0xA48500", Offset = "0xA48500", Length = "0x7F0")]
68 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "SendPlayerFile", MemberParameters = new object[] { typeof(PlayerFileData) }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitsByte), Member = "op_Implicit", MemberParameters = new object[] { typeof(byte) }, ReturnType = typeof(BitsByte))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitsByte), Member = "set_Item", MemberParameters = new object[]
73 {
74 typeof(int),
75 typeof(bool)
76 }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_UsingBiomeTorches", ReturnType = typeof(bool))]
78 private void WritePlayerData(BinaryWriter writer, Player player)
79 {
80 throw null;
81 }
82
83 [global::Cpp2ILInjected.Token(Token = "0x600109A")]
84 [global::Cpp2ILInjected.Address(RVA = "0xA48CF0", Offset = "0xA48CF0", Length = "0x508")]
85 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "SendNextFile", ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MemoryStream), Member = ".ctor", ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BinaryWriter), Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation), Member = "WriteMessageHeader", MemberParameters = new object[]
91 {
94 }, ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileMetadata), Member = "Write", MemberParameters = new object[] { typeof(BinaryWriter) }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SavePath", ReturnType = typeof(string))]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
98 {
99 typeof(string),
100 typeof(string)
101 }, ReturnType = typeof(string))]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Ticks", ReturnType = typeof(long))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation), Member = "WriteMessageLength", MemberParameters = new object[] { typeof(BinaryWriter) }, ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
106 {
107 throw null;
108 }
109
110 [global::Cpp2ILInjected.Token(Token = "0x600109B")]
111 [global::Cpp2ILInjected.Address(RVA = "0xA47F5C", Offset = "0xA47F5C", Length = "0x14C")]
112 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
113 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "Begin", ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "ProcessMessage", MemberParameters = new object[]
115 {
117 typeof(byte[])
118 }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "SendPlayerFile", MemberParameters = new object[] { typeof(PlayerFileData) }, ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "SendWorldFile", MemberParameters = new object[] { typeof(WorldFileData) }, ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation), Member = "SendEmptyMessage", MemberParameters = new object[] { typeof(SaveSynchronisationOperation.MessageId) }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
125 private void SendNextFile()
126 {
127 throw null;
128 }
129
130 [global::Cpp2ILInjected.Token(Token = "0x600109C")]
131 [global::Cpp2ILInjected.Address(RVA = "0xA491F8", Offset = "0xA491F8", Length = "0x38")]
132 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
133 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SaveSynchronisationOperation_SendFileList), Member = "SendNextFile", ReturnType = typeof(void))]
136 {
137 throw null;
138 }
139
140 [global::Cpp2ILInjected.Token(Token = "0x600109D")]
141 [global::Cpp2ILInjected.Address(RVA = "0xA49230", Offset = "0xA49230", Length = "0x18C")]
142 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
143 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
145 {
146 typeof(string),
147 typeof(object)
148 }, ReturnType = typeof(string))]
149 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
150 public override string GetStatus()
151 {
152 throw null;
153 }
154
155 [global::Cpp2ILInjected.Token(Token = "0x4001F78")]
156 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
157 private int fileCountPending;
158
159 [global::Cpp2ILInjected.Token(Token = "0x4001F79")]
160 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
161 private int fileOffset;
162
163 [global::Cpp2ILInjected.Token(Token = "0x4001F7A")]
164 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
165 private bool sentPlayers;
166
167 [global::Cpp2ILInjected.Token(Token = "0x4001F7B")]
168 [global::Cpp2ILInjected.FieldOffset(Offset = "0x25")]
169 private bool sentWorlds;
170
171 [global::Cpp2ILInjected.Token(Token = "0x4001F7C")]
172 [global::Cpp2ILInjected.FieldOffset(Offset = "0x26")]
173 private bool sentEndList;
174}
class f__AnonymousType0<< Count > j__TPar
override void ProcessMessage(SaveSynchronisationOperation.MessageId messageId, byte[] data)
SaveSynchronisationOperation_SendFileList(SaveSynchronisationOperation.SendDataFunction sendOperation)
delegate void SendDataFunction(byte[] messageData, int length)