LeviLamina
Loading...
Searching...
No Matches
ILevelListCache.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/PathBuffer.h"
7#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9#include "mc/deps/core/utility/UniqueOwnerPointer.h"
10
11// auto generated forward declare list
12// clang-format off
13class ContentIdentity;
15class LevelData;
16class LevelDbEnv;
19class LevelStorage;
22class Scheduler;
23struct LevelSummary;
24namespace Core { class Path; }
25// clang-format on
26
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 0
32 virtual ~ILevelListCache() /*override*/;
33
34 // vIndex: 1
35 virtual void addLevel(::std::string const&, ::LevelData&&) = 0;
36
37 // vIndex: 2
38 virtual void deleteLevel(::std::string const&) = 0;
39
40 // vIndex: 3
41 virtual void refreshLevel(::std::string const&) = 0;
42
43 // vIndex: 4
44 virtual void deleteLevelFiles(::std::string const&) = 0;
45
46 // vIndex: 5
47 virtual void postDeleteLevel(::std::string const&) = 0;
48
49 // vIndex: 6
50 virtual void renameLevel(::std::string const&, ::std::string const&) = 0;
51
52 // vIndex: 7
53 virtual void renameAndSaveLevelData(::std::string const&, ::std::string const&, ::LevelData const&) = 0;
54
55 // vIndex: 8
56 virtual void saveLevelData(::std::string const&, ::LevelData const&) = 0;
57
58 // vIndex: 9
59 virtual void createBackupCopyOfWorld(::std::string const&, ::std::string const&, ::std::string const&) = 0;
60
61 // vIndex: 10
62 virtual bool hasLevelWithId(::std::string const&) = 0;
63
64 // vIndex: 11
65 virtual bool checkIfLevelIsCorruptOrMissing(::std::string const&) = 0;
66
67 // vIndex: 12
68 virtual void addObserver(::LevelListCacheObserver&) = 0;
69
70 // vIndex: 13
71 virtual void removeObserver(::LevelListCacheObserver&) = 0;
72
73 // vIndex: 14
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;
76
77 // vIndex: 15
78 virtual ::std::unique_ptr<::LevelLooseFileStorage>
79 createLevelLooseStorage(::std::string const&, ::ContentIdentity const&, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> const&) = 0;
80
81 // vIndex: 16
82 virtual ::LevelSummary* getLevelSummary(::std::string const&) = 0;
83
84 // vIndex: 17
85 virtual ::LevelSummary const* getLevelSummaryByName(::std::string const&) = 0;
86
87 // vIndex: 18
88 virtual ::LevelSummary* getOrCreateLevelSummary(::Core::Path const&) = 0;
89
90 // vIndex: 19
91 virtual ::LevelData* getLevelData(::std::string const&) = 0;
92
93 // vIndex: 20
94 virtual ::Bedrock::NonOwnerPointer<::LevelData> getLevelDataNonOwnerPointer(::std::string const&) = 0;
95
96 // vIndex: 21
97 virtual ::LevelSummary* getShallowLevelSummary(::std::string const&) = 0;
98
99 // vIndex: 22
100 virtual void getLevelList(::std::vector<::LevelSummary>&, bool, bool, bool) = 0;
101
102 // vIndex: 23
103 virtual bool hasCachedLevels(bool) const = 0;
104
105 // vIndex: 24
106 virtual void updateLevelCache(::std::string const&) = 0;
107
108 // vIndex: 25
109 virtual ::std::unique_ptr<::LevelStorageObserver> createLevelStorageObserver() = 0;
110
111 // vIndex: 26
112 virtual void onSave(::std::string const&) = 0;
113
114 // vIndex: 27
115 virtual void onStorageChanged() = 0;
116
117 // vIndex: 28
118 virtual ::Core::PathBuffer<::std::string> const getBasePath() const = 0;
119 // NOLINTEND
120
121public:
122 // destructor thunk
123 // NOLINTBEGIN
124 MCFOLD void $dtor();
125 // NOLINTEND
126
127public:
128 // virtual function thunks
129 // NOLINTBEGIN
130
131 // NOLINTEND
132
133public:
134 // vftables
135 // NOLINTBEGIN
136 MCAPI static void** $vftable();
137 // NOLINTEND
138};
Definition EnableNonOwnerReferences.h:7
Definition ContentIdentity.h:10
Definition Path.h:15
Definition IContentKeyProvider.h:13
Definition ILevelListCache.h:27
Definition LevelData.h:48
Definition LevelDbEnv.h:8
Definition LevelListCacheObserver.h:13
Definition LevelLooseFileStorage.h:15
Definition LevelStorageEventing.h:15
Definition LevelStorageObserver.h:5
Definition LevelStorage.h:24
Definition Path.h:16
Definition Scheduler.h:13
Definition LevelSummary.h:27