LeviLamina
Loading...
Searching...
No Matches
PackMover.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class AppPlatform;
9class TaskGroup;
10namespace Core { class Path; }
11namespace Core::ZipUtils { class IZipUtility; }
12namespace Core::ZipUtils { struct ZipProgressList; }
13// clang-format on
14
15class PackMover {
16public:
17 // static functions
18 // NOLINTBEGIN
19#ifdef LL_PLAT_C
20 MCNAPI static void copyPack(
21 ::TaskGroup& taskGroup,
22 ::ResourceLocation const& srcLocation,
23 bool srcPackIsZipped,
24 ::Core::Path const& destPath,
25 bool zipDestination,
26 ::std::vector<::std::string> const& excludeDirs,
28 ::std::function<void(bool)> callback,
29 bool unzipAsFlatFile,
30 bool unzipInTransaction
31 );
32
33 MCNAPI static void copyPack(
34 ::AppPlatform& appPlatform,
35 ::TaskGroup& taskGroup,
36 ::Core::ZipUtils::IZipUtility const& zipUtility,
37 ::ResourceLocation const& srcLocation,
38 bool srcPackIsZipped,
39 ::Core::Path const& destPath,
40 bool zipDestination,
41 ::std::vector<::std::string> const& excludeDirs,
43 ::std::function<void(bool)> callback,
44 bool unzipAsFlatFile,
45 bool unzipInTransaction
46 );
47#endif
48 // NOLINTEND
49};
Definition AppPlatform.h:91
Definition Path.h:17
Definition IZipUtility.h:21
Definition PackMover.h:15
Definition ResourceLocation.h:15
Definition TaskGroup.h:57
Definition ZipProgressList.h:15