31 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::SaveTransactionManager>> mSaveTransactionManager;
32 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>> mFilePathManager;
47 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
59 virtual ::std::unique_ptr<::LevelLooseFileStorage> createLevelLooseStorage(
60 ::std::string
const& levelId,
62 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider
65 virtual ::Bedrock::Result<bool> 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 ::Core::PathBuffer<::std::string>
const getPathToLevelInfo(::std::string
const& levelId,
bool)
const
101 virtual bool isBetaRetailLevel(::std::string
const&)
const ;
109 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>
const& pathManager,
110 ::Bedrock::NotNullNonOwnerPtr<::SaveTransactionManager>
const& saveTransactionManager
120 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>
const& pathManager,
121 ::Bedrock::NotNullNonOwnerPtr<::SaveTransactionManager>
const& saveTransactionManager
135 MCAPI ::std::string
const& $getName()
const;
137 MCAPI ::Bedrock::UniqueOwnerPointer<::LevelStorage> $createLevelStorage(
139 ::std::string
const& levelId,
141 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider,
142 ::std::chrono::nanoseconds
const& writeFlushInterval,
143 ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv> levelDbEnv,
144 ::std::unique_ptr<::LevelStorageEventing> levelStorageEventing
147 MCAPI ::std::unique_ptr<::LevelLooseFileStorage> $createLevelLooseStorage(
148 ::std::string
const& levelId,
150 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider
153 MCAPI ::Bedrock::Result<bool> $getLevelData(::std::string
const& levelId,
::LevelData& levelDataOut)
const;
155 MCAPI
void $saveLevelData(::std::string
const& levelId,
::LevelData const& data);
159 MCAPI
void $deleteLevel(::std::string
const& levelId);
161 MCAPI
bool $renameLevel(::std::string
const& levelId, ::std::string
const& newLevelName);
163 MCAPI
void $renameLevel(
::LevelData& levelData,
::Core::Path const& fullPath, ::std::string
const& newLevelName);
165 MCAPI
bool $createBackupCopyOfWorld(
166 ::std::string
const& levelId,
167 ::std::string
const& newLeveId,
168 ::std::string
const& newName
171 MCAPI
bool $isLevelMarkedForSync(
::Core::Path const& levelPath)
const;
173 MCAPI
bool $isLevelPartiallyCopied(
::Core::Path const& levelPath)
const;
175 MCAPI ::Core::PathBuffer<::std::string> $getLevelDatFoundPath(
::Core::Path const& levelPath)
const;
177 MCAPI ::Core::PathBuffer<::std::string>
const $getBasePath()
const;
179 MCAPI ::Core::PathBuffer<::std::string>
const $getPathToLevel(::std::string
const& levelId)
const;
181 MCFOLD ::Core::PathBuffer<::std::string>
const $getPathToLevelInfo(::std::string
const& levelId,
bool)
const;
185 MCFOLD
bool $isBetaRetailLevel(::std::string
const&)
const;
Definition ContentIdentity.h:8
Definition IContentKeyProvider.h:13