3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/NonOwnerPointer.h"
17namespace Core {
class Path; }
18namespace Core {
class Result; }
21namespace ExternalFileLevelStorage {
29MCNAPI
void copyLevelInfoToDiskCache(
::Core::Path const& levelRootPath,
bool onlyIfNotExisting);
31MCNAPI ::std::unique_ptr<::PackAccessStrategy> getAccessStrategy(
34 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider
37MCNAPI ::std::vector<::std::string>
const getImportantFiles();
41MCNAPI
bool isLevelMarkedForSync(
::Core::Path const& directory);
43MCNAPI
void makeReadableLevelnameFile(
::Core::Path const& fullPath, ::std::string
const& name);
45MCNAPI ::Core::Result readLevelDataFromData(::std::string
const& dataStr,
::LevelData& levelData);
47MCNAPI ::Core::Result readLevelDataFromFile(
49 ::std::string
const& levelId,
54MCNAPI
bool readShallowLevelSummaryFromSyncFile(
56 ::std::string
const& levelId,
60MCNAPI
bool readSyncFileData(
62 ::std::string& levelName,
64 int64& remoteTimestamp,
68MCNAPI
void saveLevelData(
70 ::std::string
const& levelId,
78MCNAPI
void saveLevelDisplayDataToCache(
79 ::std::string
const& levelId,
81 ::gsl::not_null<::TaskGroup*> taskGroup
84MCNAPI ::Core::Result validateLevelDat(
::Core::Path filePath);
89MCNAPI
char const*
const& CLOUD_SYNC_LOCK();
91MCNAPI
char const*
const& FN_CORRUPTED_WORLD_MARKER();
93MCNAPI
char const*
const& FN_LEVEL_DAT();
95MCNAPI ::std::atomic<bool>& writingToCache();
Definition ContentIdentity.h:8
Definition IContentKeyProvider.h:13
Definition IMinecraftEventing.h:147
Definition LevelData.h:49
Definition PackAccessStrategy.h:20
Definition TaskGroup.h:48
Definition LevelSummary.h:27