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 ;
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
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
144 ::std::string
const& levelId,
146 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider
149 MCNAPI ::Bedrock::Result<::LevelDataLoadResult>
158 MCNAPI
bool $renameLevel(::std::string
const& levelId, ::std::string
const& newLevelName);
163 ::std::string
const& levelId,
164 ::std::string
const& newLeveId,
165 ::std::string
const& newName
176 MCNAPI ::Core::PathBuffer<::std::string>
const $getPathToLevel(::std::string
const& levelId)
const;
Definition ContentIdentity.h:8
MCAPI ::Bedrock::UniqueOwnerPointer<::LevelStorage > $createLevelStorage(::Scheduler &scheduler, ::std::string const &levelId, ::ContentIdentity const &contentIdentity, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider, ::std::chrono::nanoseconds const &writeFlushInterval, ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv > levelDbEnv, ::std::unique_ptr<::LevelStorageEventing > levelStorageEventing, bool jigsawPersistenceToggle)
Definition IContentKeyProvider.h:13