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

◆ ProcessMessage()

override void SaveSynchronisationOperation_SendFile.ProcessMessage ( SaveSynchronisationOperation::MessageId messageId,
byte[] data )
inlinevirtual

Reimplemented from SaveSynchronisationOperation.

Definition at line 81 of file SaveSynchronisationOperation_SendFile.cs.

82 {
83 int num = this.sendOffset;
84 int num2 = this.mapFilesOffset;
85 byte[] array = this.fileDataToSend;
87 this.SendNextChunk();
88 if (this.pendingChunks == 0)
89 {
90 string[] array2 = this.mapFiles;
91 if (array2 != null)
92 {
94 if (array2 == null)
95 {
96 }
97 string savePath = Main.SavePath;
98 string text = this.filename;
99 string text2 = savePath + text;
100 long num3 = 0L;
101 byte[] array3 = FileUtilities.ReadAllBytes(text2, num3 != 0L);
102 int num4 = this.mapFilesOffset;
105 return;
106 }
107 int num5 = 1;
108 this.IsComplete = num5 != 0;
109 }
110 }
class f__AnonymousType0<< Count > j__TPar
static string SavePath
Definition Main.cs:4045
static byte[] ReadAllBytes(string path, bool cloud=false)

References System.array, fileDataToSend, filename, j__TPar, System.L, mapFiles, mapFilesOffset, pendingChunks, Terraria.Utilities.FileUtilities.ReadAllBytes(), Terraria.Main.SavePath, SendNextChunk(), sendOffset, and System.text.