33 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::SaveTransactionManager>> mSaveTransactionManager;
34 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>> mFilePathManager;
39 ExternalFileLevelStorageSource();
44 virtual ~ExternalFileLevelStorageSource() ;
46 virtual ::std::string
const& getName()
const ;
48 virtual ::Bedrock::UniqueOwnerPointer<::LevelStorage> createLevelStorage(
50 ::std::string
const& levelId,
52 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider,
53 ::std::chrono::nanoseconds
const& writeFlushInterval,
54 ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv> levelDbEnv,
55 ::std::unique_ptr<::LevelStorageEventing> levelStorageEventing,
56 bool jigsawPersistenceToggle
59 virtual ::std::unique_ptr<::LevelLooseFileStorage> createLevelLooseStorage(
60 ::std::string
const& levelId,
62 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider
65 virtual ::Bedrock::Result<::LevelDataLoadResult>
66 getLevelData(::std::string
const& levelId,
::LevelData& levelDataOut)
const ;
68 virtual void saveLevelData(::std::string
const& levelId,
::LevelData const& data) ;
72 virtual void deleteLevel(::std::string
const& levelId) ;
74 virtual bool renameLevel(::std::string
const& levelId, ::std::string
const& newLevelName) ;
79 virtual bool createBackupCopyOfWorld(
80 ::std::string
const& levelId,
81 ::std::string
const& newLeveId,
82 ::std::string
const& newName
85 virtual bool isLevelMarkedForSync(
::Core::Path const& levelPath)
const ;
87 virtual bool isLevelPartiallyCopied(
::Core::Path const& levelPath)
const ;
89 virtual ::Core::PathBuffer<::std::string> getLevelDatFoundPath(
::Core::Path const& levelPath)
const ;
91 virtual ::Core::PathBuffer<::std::string>
const getBasePath()
const ;
93 virtual ::Core::PathBuffer<::std::string>
const getPathToLevel(::std::string
const& levelId)
const ;
95 virtual ::LevelInfoPath getPathToLevelInfo(::std::string
const& levelId,
bool)
const ;
100 virtual bool isBetaRetailLevel(::std::string
const&)
const ;
106 MCAPI ExternalFileLevelStorageSource(
107 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>
const& pathManager,
108 ::Bedrock::NotNullNonOwnerPtr<::SaveTransactionManager>
const& saveTransactionManager
116 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>
const& pathManager,
117 ::Bedrock::NotNullNonOwnerPtr<::SaveTransactionManager>
const& saveTransactionManager
130 MCAPI ::std::string
const& $getName()
const;
132 MCAPI ::Bedrock::UniqueOwnerPointer<::LevelStorage> $createLevelStorage(
134 ::std::string
const& levelId,
136 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider,
137 ::std::chrono::nanoseconds
const& writeFlushInterval,
138 ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv> levelDbEnv,
139 ::std::unique_ptr<::LevelStorageEventing> levelStorageEventing,
140 bool jigsawPersistenceToggle
143 MCAPI ::std::unique_ptr<::LevelLooseFileStorage> $createLevelLooseStorage(
144 ::std::string
const& levelId,
146 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider
149 MCAPI ::Bedrock::Result<::LevelDataLoadResult>
150 $getLevelData(::std::string
const& levelId,
::LevelData& levelDataOut)
const;
152 MCAPI
void $saveLevelData(::std::string
const& levelId,
::LevelData const& data);
156 MCAPI
void $deleteLevel(::std::string
const& levelId);
158 MCAPI
bool $renameLevel(::std::string
const& levelId, ::std::string
const& newLevelName);
160 MCAPI
void $renameLevel(
::LevelData& levelData,
::Core::Path const& fullPath, ::std::string
const& newLevelName);
162 MCAPI
bool $createBackupCopyOfWorld(
163 ::std::string
const& levelId,
164 ::std::string
const& newLeveId,
165 ::std::string
const& newName
168 MCAPI
bool $isLevelMarkedForSync(
::Core::Path const& levelPath)
const;
170 MCAPI
bool $isLevelPartiallyCopied(
::Core::Path const& levelPath)
const;
172 MCAPI ::Core::PathBuffer<::std::string> $getLevelDatFoundPath(
::Core::Path const& levelPath)
const;
174 MCAPI ::Core::PathBuffer<::std::string>
const $getBasePath()
const;
176 MCAPI ::Core::PathBuffer<::std::string>
const $getPathToLevel(::std::string
const& levelId)
const;
178 MCAPI ::LevelInfoPath $getPathToLevelInfo(::std::string
const& levelId,
bool)
const;
182 MCFOLD
bool $isBetaRetailLevel(::std::string
const&)
const;
Definition ContentIdentity.h:8
Definition IContentKeyProvider.h:13