3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/NonOwnerPointer.h"
16namespace Core {
class Path; }
17namespace Core {
class Result; }
20namespace ExternalFileLevelStorage {
28MCNAPI
void copyLevelInfoToDiskCache(
::Core::Path const& levelRootPath,
bool onlyIfNotExisting);
30MCNAPI ::std::unique_ptr<::PackAccessStrategy> getAccessStrategy(
33 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider
36MCNAPI ::std::vector<::std::string>
const getImportantFiles();
38MCNAPI
bool isLevelMarkedForSync(
::Core::Path const& directory);
40MCNAPI ::Core::Result readLevelDataFromData(::std::string
const& dataStr,
::LevelData& levelData);
45MCNAPI
bool readShallowLevelSummaryFromSyncFile(
47 ::std::string
const& levelId,
51MCNAPI
bool readSyncFileData(
53 ::std::string& levelName,
55 int64& remoteTimestamp,
59MCNAPI
void saveLevelData(
61 ::std::string
const& levelId,
69MCNAPI
void saveLevelDisplayDataToCache(
70 ::std::string
const& levelId,
72 ::gsl::not_null<::TaskGroup*> taskGroup
75MCNAPI ::Core::Result validateLevelDat(
::Core::Path filePath);
80MCNAPI
char const*
const& CLOUD_SYNC_LOCK();
82MCNAPI
char const*
const& FN_CORRUPTED_WORLD_MARKER();
84MCNAPI
char const*
const& FN_LEVEL_DAT();
86MCNAPI ::std::atomic<bool>& writingToCache();
Definition ContentIdentity.h:8
Definition IContentKeyProvider.h:13
Definition LevelData.h:49
Definition PackAccessStrategy.h:20
Definition TaskGroup.h:104
Definition LevelSummary.h:27