31 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::SaveTransactionManager>> mSaveTransactionManager;
32 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>> mFilePathManager;
37 ExternalFileLevelStorageSource();
42 virtual ~ExternalFileLevelStorageSource() ;
44 virtual ::std::string
const& getName()
const ;
46 virtual ::Bedrock::UniqueOwnerPointer<::LevelStorage> createLevelStorage(
48 ::std::string
const& levelId,
50 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider,
51 ::std::chrono::nanoseconds
const& writeFlushInterval,
52 ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv> levelDbEnv,
53 ::std::unique_ptr<::LevelStorageEventing> levelStorageEventing
56 virtual ::std::unique_ptr<::LevelLooseFileStorage> createLevelLooseStorage(
57 ::std::string
const& levelId,
59 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider
62 virtual ::Bedrock::Result<bool> getLevelData(::std::string
const& levelId,
::LevelData& levelDataOut)
const
65 virtual void saveLevelData(::std::string
const& levelId,
::LevelData const& data) ;
69 virtual void deleteLevel(::std::string
const& levelId) ;
71 virtual bool renameLevel(::std::string
const& levelId, ::std::string
const& newLevelName) ;
76 virtual bool createBackupCopyOfWorld(
77 ::std::string
const& levelId,
78 ::std::string
const& newLeveId,
79 ::std::string
const& newName
82 virtual bool isLevelMarkedForSync(
::Core::Path const& levelPath)
const ;
84 virtual bool isLevelPartiallyCopied(
::Core::Path const& levelPath)
const ;
86 virtual ::Core::PathBuffer<::std::string> getLevelDatFoundPath(
::Core::Path const& levelPath)
const ;
88 virtual ::Core::PathBuffer<::std::string>
const getBasePath()
const ;
90 virtual ::Core::PathBuffer<::std::string>
const getPathToLevel(::std::string
const& levelId)
const ;
92 virtual ::Core::PathBuffer<::std::string>
const getPathToLevelInfo(::std::string
const& levelId,
bool)
const
98 virtual bool isBetaRetailLevel(::std::string
const&)
const ;
104 MCAPI ExternalFileLevelStorageSource(
105 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>
const& pathManager,
106 ::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
142 MCAPI ::std::unique_ptr<::LevelLooseFileStorage> $createLevelLooseStorage(
143 ::std::string
const& levelId,
145 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider
148 MCAPI ::Bedrock::Result<bool> $getLevelData(::std::string
const& levelId,
::LevelData& levelDataOut)
const;
150 MCAPI
void $saveLevelData(::std::string
const& levelId,
::LevelData const& data);
154 MCAPI
void $deleteLevel(::std::string
const& levelId);
156 MCAPI
bool $renameLevel(::std::string
const& levelId, ::std::string
const& newLevelName);
158 MCAPI
void $renameLevel(
::LevelData& levelData,
::Core::Path const& fullPath, ::std::string
const& newLevelName);
160 MCAPI
bool $createBackupCopyOfWorld(
161 ::std::string
const& levelId,
162 ::std::string
const& newLeveId,
163 ::std::string
const& newName
166 MCAPI
bool $isLevelMarkedForSync(
::Core::Path const& levelPath)
const;
168 MCAPI
bool $isLevelPartiallyCopied(
::Core::Path const& levelPath)
const;
170 MCAPI ::Core::PathBuffer<::std::string> $getLevelDatFoundPath(
::Core::Path const& levelPath)
const;
172 MCAPI ::Core::PathBuffer<::std::string>
const $getBasePath()
const;
174 MCAPI ::Core::PathBuffer<::std::string>
const $getPathToLevel(::std::string
const& levelId)
const;
176 MCFOLD ::Core::PathBuffer<::std::string>
const $getPathToLevelInfo(::std::string
const& levelId,
bool)
const;
180 MCFOLD
bool $isBetaRetailLevel(::std::string
const&)
const;
Definition ContentIdentity.h:8
Definition IContentKeyProvider.h:13