31 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::SaveTransactionManager>> mSaveTransactionManager;
32 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>> mFilePathManager;
46 virtual ::std::string
const& getName()
const ;
49 virtual ::Bedrock::UniqueOwnerPointer<::LevelStorage> createLevelStorage(
51 ::std::string
const& levelId,
53 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider,
54 ::std::chrono::nanoseconds
const& writeFlushInterval,
55 ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv> levelDbEnv,
56 ::std::unique_ptr<::LevelStorageEventing> levelStorageEventing
60 virtual ::std::unique_ptr<::LevelLooseFileStorage> createLevelLooseStorage(
61 ::std::string
const& levelId,
63 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider
67 virtual ::Bedrock::Result<bool> getLevelData(::std::string
const& levelId,
::LevelData& levelDataOut)
const
71 virtual void saveLevelData(::std::string
const& levelId,
::LevelData const& data) ;
77 virtual void deleteLevel(::std::string
const& levelId) ;
80 virtual bool renameLevel(::std::string
const& levelId, ::std::string
const& newLevelName) ;
87 virtual bool createBackupCopyOfWorld(
88 ::std::string
const& levelId,
89 ::std::string
const& newLeveId,
90 ::std::string
const& newName
94 virtual bool isLevelMarkedForSync(
::Core::Path const& levelPath)
const ;
97 virtual bool isLevelPartiallyCopied(
::Core::Path const& levelPath)
const ;
100 virtual ::Core::PathBuffer<::std::string> getLevelDatFoundPath(
::Core::Path const& levelPath)
const ;
103 virtual ::Core::PathBuffer<::std::string>
const getBasePath()
const ;
106 virtual ::Core::PathBuffer<::std::string>
const getPathToLevel(::std::string
const& levelId)
const ;
109 virtual ::Core::PathBuffer<::std::string>
const getPathToLevelInfo(::std::string
const& levelId,
bool)
const
113 virtual bool isBetaRetailLevel(::std::string
const&)
const ;
120 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>
const& pathManager,
121 ::Bedrock::NotNullNonOwnerPtr<::SaveTransactionManager>
const& saveTransactionManager
129 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>
const& pathManager,
130 ::Bedrock::NotNullNonOwnerPtr<::SaveTransactionManager>
const& saveTransactionManager
143 MCAPI ::std::string
const& $getName()
const;
145 MCAPI ::Bedrock::UniqueOwnerPointer<::LevelStorage> $createLevelStorage(
147 ::std::string
const& levelId,
149 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider,
150 ::std::chrono::nanoseconds
const& writeFlushInterval,
151 ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv> levelDbEnv,
152 ::std::unique_ptr<::LevelStorageEventing> levelStorageEventing
155 MCAPI ::std::unique_ptr<::LevelLooseFileStorage> $createLevelLooseStorage(
156 ::std::string
const& levelId,
158 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider
161 MCAPI ::Bedrock::Result<bool> $getLevelData(::std::string
const& levelId,
::LevelData& levelDataOut)
const;
163 MCAPI
void $saveLevelData(::std::string
const& levelId,
::LevelData const& data);
167 MCAPI
void $deleteLevel(::std::string
const& levelId);
169 MCAPI
bool $renameLevel(::std::string
const& levelId, ::std::string
const& newLevelName);
171 MCAPI
void $renameLevel(
::LevelData& levelData,
::Core::Path const& fullPath, ::std::string
const& newLevelName);
173 MCAPI
bool $createBackupCopyOfWorld(
174 ::std::string
const& levelId,
175 ::std::string
const& newLeveId,
176 ::std::string
const& newName
179 MCAPI
bool $isLevelMarkedForSync(
::Core::Path const& levelPath)
const;
181 MCAPI
bool $isLevelPartiallyCopied(
::Core::Path const& levelPath)
const;
183 MCAPI ::Core::PathBuffer<::std::string> $getLevelDatFoundPath(
::Core::Path const& levelPath)
const;
185 MCAPI ::Core::PathBuffer<::std::string>
const $getBasePath()
const;
187 MCAPI ::Core::PathBuffer<::std::string>
const $getPathToLevel(::std::string
const& levelId)
const;
189 MCFOLD ::Core::PathBuffer<::std::string>
const $getPathToLevelInfo(::std::string
const& levelId,
bool)
const;
191 MCFOLD
bool $isBetaRetailLevel(::std::string
const&)
const;
Definition ContentIdentity.h:8
Definition IContentKeyProvider.h:13