35 virtual void addLevel(::std::string
const&,
::LevelData&&) = 0;
38 virtual void deleteLevel(::std::string
const&) = 0;
41 virtual void refreshLevel(::std::string
const&) = 0;
44 virtual void deleteLevelFiles(::std::string
const&) = 0;
47 virtual void postDeleteLevel(::std::string
const&) = 0;
50 virtual void renameLevel(::std::string
const&, ::std::string
const&) = 0;
53 virtual void renameAndSaveLevelData(::std::string
const&, ::std::string
const&,
::LevelData const&) = 0;
56 virtual void saveLevelData(::std::string
const&,
::LevelData const&) = 0;
59 virtual void createBackupCopyOfWorld(::std::string
const&, ::std::string
const&, ::std::string
const&) = 0;
62 virtual bool hasLevelWithId(::std::string
const&) = 0;
65 virtual bool checkIfLevelIsCorruptOrMissing(::std::string
const&) = 0;
74 virtual ::Bedrock::UniqueOwnerPointer<::LevelStorage>
75 createLevelStorage(
::Scheduler&, ::std::string
const&,
::ContentIdentity const&, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const&, ::std::chrono::nanoseconds
const&, ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv>, ::std::unique_ptr<::LevelStorageEventing>) = 0;
78 virtual ::std::unique_ptr<::LevelLooseFileStorage>
79 createLevelLooseStorage(::std::string
const&,
::ContentIdentity const&, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const&) = 0;
82 virtual ::LevelSummary* getLevelSummary(::std::string
const&) = 0;
85 virtual ::LevelSummary
const* getLevelSummaryByName(::std::string
const&) = 0;
88 virtual ::LevelSummary* getOrCreateLevelSummary(
::Core::Path const&) = 0;
91 virtual ::LevelData* getLevelData(::std::string
const&) = 0;
94 virtual ::Bedrock::NonOwnerPointer<::LevelData> getLevelDataNonOwnerPointer(::std::string
const&) = 0;
97 virtual ::LevelSummary* getShallowLevelSummary(::std::string
const&) = 0;
100 virtual void getLevelList(::std::vector<::LevelSummary>&,
bool,
bool,
bool) = 0;
103 virtual bool hasCachedLevels(
bool)
const = 0;
106 virtual void updateLevelCache(::std::string
const&) = 0;
109 virtual ::std::unique_ptr<::LevelStorageObserver> createLevelStorageObserver() = 0;
112 virtual void onSave(::std::string
const&) = 0;
115 virtual void onStorageChanged() = 0;
118 virtual ::Core::PathBuffer<::std::string>
const getBasePath()
const = 0;
136 MCAPI
static void** $vftable();
Definition ContentIdentity.h:10
Definition IContentKeyProvider.h:13