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