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

◆ _SetTimes()

void Ionic.Zip.ZipEntry._SetTimes ( string fileOrDirectory,
bool isFile )
inlinepackage

Definition at line 1425 of file ZipEntry.cs.

1426 {
1427 if (this._ntfsTimesAreSet)
1428 {
1429 DateTime atime = this._Atime;
1430 DateTime ctime = this._Ctime;
1431 DateTime mtime = this._Mtime;
1432 if (NetCfFile.SetTimes(fileOrDirectory, ctime, atime, mtime) != 0)
1433 {
1435 if (fileNameInArchive != null && fileNameInArchive == null)
1436 {
1437 throw new ArrayTypeMismatchException();
1438 }
1439 if (fileOrDirectory != null && fileOrDirectory == null)
1440 {
1441 throw new ArrayTypeMismatchException();
1442 }
1443 ZipFile zf = this._container._zf;
1444 if (zf != null && zf._StatusMessageTextWriter != null)
1445 {
1446 return;
1447 }
1448 }
1449 }
1450 else
1451 {
1453 DateTime dateTime = SharedUtilities.AdjustTime_Reverse(dateTime2);
1454 if (NetCfFile.SetLastWriteTime(fileOrDirectory, dateTime) != 0)
1455 {
1457 if (fileNameInArchive2 != null && fileNameInArchive2 == null)
1458 {
1459 throw new ArrayTypeMismatchException();
1460 }
1461 if (fileOrDirectory != null && fileOrDirectory == null)
1462 {
1463 throw new ArrayTypeMismatchException();
1464 }
1465 ZipFile zf2 = this._container._zf;
1466 if (zf2 == null || zf2._StatusMessageTextWriter != null)
1467 {
1468 }
1469 }
1470 }
1471 }
class f__AnonymousType0<< Count > j__TPar
ZipContainer _container
Definition ZipEntry.cs:2426
string _FileNameInArchive
Definition ZipEntry.cs:2357

References Ionic.Zip.ZipEntry._Atime, Ionic.Zip.ZipEntry._container, Ionic.Zip.ZipEntry._Ctime, Ionic.Zip.ZipEntry._FileNameInArchive, Ionic.Zip.ZipEntry._Mtime, Ionic.Zip.ZipEntry._ntfsTimesAreSet, Ionic.Zip.ZipFile._StatusMessageTextWriter, Ionic.Zip.ZipContainer._zf, Ionic.Zip.SharedUtilities.AdjustTime_Reverse(), j__TPar, Ionic.Zip.NetCfFile.SetLastWriteTime(), and Ionic.Zip.NetCfFile.SetTimes().