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> createLevelStorage(
76 ::std::string const&,
77 ::ContentIdentity const&,
78 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> const&,
79 ::std::chrono::nanoseconds const&,
80 ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv>,
81 ::std::unique_ptr<::LevelStorageEventing>
82 ) = 0;
83
84 // vIndex: 15
85 virtual ::std::unique_ptr<::LevelLooseFileStorage> createLevelLooseStorage(
86 ::std::string const&,
87 ::ContentIdentity const&,
88 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> const&
89 ) = 0;
90
91 // vIndex: 16
92 virtual ::LevelSummary* getLevelSummary(::std::string const&) = 0;
93
94 // vIndex: 17
95 virtual ::LevelSummary const* getLevelSummaryByName(::std::string const&) = 0;
96
97 // vIndex: 18
98 virtual ::LevelSummary* getOrCreateLevelSummary(::Core::Path const&) = 0;
99
100 // vIndex: 19
101 virtual ::LevelData* getLevelData(::std::string const&) = 0;
102
103 // vIndex: 20
104 virtual ::Bedrock::NonOwnerPointer<::LevelData> getLevelDataNonOwnerPointer(::std::string const&) = 0;
105
106 // vIndex: 21
107 virtual ::LevelSummary* getShallowLevelSummary(::std::string const&) = 0;
108
109 // vIndex: 22
110 virtual void getLevelList(::std::vector<::LevelSummary>&, bool, bool, bool) = 0;
111
112 // vIndex: 23
113 virtual bool hasCachedLevels(bool) const = 0;
114
115 // vIndex: 24
116 virtual void updateLevelCache(::std::string const&) = 0;
117
118 // vIndex: 25
119 virtual ::std::unique_ptr<::LevelStorageObserver> createLevelStorageObserver() = 0;
120
121 // vIndex: 26
122 virtual void onSave(::std::string const&) = 0;
123
124 // vIndex: 27
125 virtual void onStorageChanged() = 0;
126
127 // vIndex: 28
128 virtual ::Core::PathBuffer<::std::string> const getBasePath() const = 0;
129 // NOLINTEND
130
131public:
132 // destructor thunk
133 // NOLINTBEGIN
134 MCNAPI void $dtor();
135 // NOLINTEND
136
137public:
138 // virtual function thunks
139 // NOLINTBEGIN
140
141 // NOLINTEND
142
143public:
144 // vftables
145 // NOLINTBEGIN
146 MCNAPI static void** $vftable();
147 // NOLINTEND
148};
Definition EnableNonOwnerReferences.h:7
Definition ContentIdentity.h:8
Definition Path.h:17
Definition IContentKeyProvider.h:13
Definition ILevelListCache.h:27
static MCAPI void ** $vftable()
MCAPI void $dtor()
Definition LevelData.h:49
Definition LevelDbEnv.h:8
Definition LevelListCacheObserver.h:13
Definition LevelLooseFileStorage.h:15
Definition LevelStorageEventing.h:15
Definition LevelStorageObserver.h:5
Definition LevelStorage.h:25
Definition Path.h:16
Definition Scheduler.h:13
Definition LevelSummary.h:27