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

◆ _SetWriteStream()

void Ionic.Zip.ZipSegmentedStream._SetWriteStream ( uint increment)
inlineprivate

Definition at line 254 of file ZipSegmentedStream.cs.

255 {
256 if (this._innerStream != null)
257 {
258 string text;
259 if (this._currentName == null)
260 {
262 text = this._NameForSegment(currentDiskNumber);
264 }
265 bool flag = File.Exists(text);
266 string text2;
267 if (this._currentName == null)
268 {
270 text2 = this._NameForSegment(currentDiskNumber2);
271 this._currentName = text2;
272 }
273 File.Delete(text2);
274 string currentName = this._currentName;
275 string currentTempName = this._currentTempName;
276 string text3;
277 if (currentName == null)
278 {
280 text3 = this._NameForSegment(currentDiskNumber3);
282 }
284 }
285 if (increment != 0U)
286 {
289 }
290 string baseDir = this._baseDir;
291 if (this._currentDiskNumber != 0U)
292 {
293 return;
294 }
295 byte[] bytes = BitConverter.GetBytes(19280);
296 }
class f__AnonymousType0<< Count > j__TPar
string _NameForSegment(uint diskNumber)
static byte[] GetBytes(int value)
static bool Exists(string path)
Definition File.cs:86
static void Move(string sourceFileName, string destFileName)
Definition File.cs:222
static void Delete(string path)
Definition File.cs:77

References Ionic.Zip.ZipSegmentedStream._baseDir, Ionic.Zip.ZipSegmentedStream._currentDiskNumber, Ionic.Zip.ZipSegmentedStream._currentName, Ionic.Zip.ZipSegmentedStream._currentTempName, Ionic.Zip.ZipSegmentedStream._innerStream, Ionic.Zip.ZipSegmentedStream._NameForSegment(), System.IO.File.Delete(), System.IO.File.Exists(), System.BitConverter.GetBytes(), j__TPar, System.IO.File.Move(), System.text, and System.U.

Referenced by Ionic.Zip.ZipSegmentedStream.Write().