3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/platform/Result.h"
18namespace Core {
class Path; }
19namespace Core {
class Result; }
22namespace ExternalFileLevelStorage {
25MCNAPI ::Bedrock::Result<void>
30MCNAPI
void copyLevelInfoToDiskCache(
::Core::Path const& levelRootPath,
bool onlyIfNotExisting);
32MCNAPI ::std::unique_ptr<::PackAccessStrategy> getAccessStrategy(
35 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider
38MCNAPI ::std::vector<::std::string>
const getImportantFiles();
42MCNAPI
bool isLevelMarkedForSync(
::Core::Path const& directory);
44MCNAPI
void makeReadableLevelnameFile(
::Core::Path const& fullPath, ::std::string
const& name);
46MCNAPI ::Core::Result readLevelDataFromData(::std::string
const& dataStr,
::LevelData& levelData);
48MCNAPI ::Bedrock::Result<bool> readLevelDataFromFile(
50 ::std::string
const& levelId,
55MCNAPI
bool readShallowLevelSummaryFromSyncFile(
57 ::std::string
const& levelId,
61MCNAPI
void saveLevelData(
63 ::std::string
const& levelId,
71MCNAPI
void saveLevelDisplayDataToCache(
72 ::std::string
const& levelId,
74 ::gsl::not_null<::TaskGroup*> taskGroup
77MCNAPI ::Core::Result validateLevelDat(
::Core::Path filePath);
82MCNAPI
char const*
const& CLOUD_SYNC_LOCK();
84MCNAPI
char const*
const& FN_CORRUPTED_WORLD_MARKER();
86MCNAPI
char const*
const& FN_LEVEL_DAT();
88MCNAPI ::std::atomic<bool>& writingToCache();
Definition ContentIdentity.h:8
Definition IContentKeyProvider.h:13
Definition IMinecraftEventing.h:149
Definition LevelData.h:49
Definition PackAccessStrategy.h:20
Definition TaskGroup.h:53
Definition LevelSummary.h:27