LeviLamina
Loading...
Searching...
No Matches
WorldContentSource.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/models/ContentSource.h"
7#include "mc/platform/brstd/move_only_function.h"
8
9// auto generated forward declare list
10// clang-format off
11class ILevelListCache;
12struct ContentItem;
13struct LevelSummary;
14// clang-format on
15
16struct WorldContentSource : public ::ContentSource {
17public:
18 // WorldContentSource inner types define
19 using CanAccessWorldCallback = ::brstd::move_only_function<bool(::LevelSummary const&) const>;
20
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::ILevelListCache*> mLevelListCache;
25 ::ll::TypedStorage<8, 24, ::std::vector<::LevelSummary>> mLevelSummaryList;
26 ::ll::TypedStorage<8, 64, ::gsl::not_null<::brstd::move_only_function<bool(::LevelSummary const&) const>> const>
27 mCanAccessWorld;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~WorldContentSource() /*override*/ = default;
34
35 virtual void load() /*override*/;
36
37 virtual void generateItems(::std::vector<::std::shared_ptr<::ContentItem>>& content) /*override*/;
38
39 virtual void deleteContentFiles(::std::vector<::std::shared_ptr<::ContentItem const>> const& items) /*override*/;
40
41 virtual void postDeleteContent(::std::vector<::std::shared_ptr<::ContentItem const>> const& items) /*override*/;
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCAPI void $load();
48
49 MCAPI void $generateItems(::std::vector<::std::shared_ptr<::ContentItem>>& content);
50
51 MCAPI void $deleteContentFiles(::std::vector<::std::shared_ptr<::ContentItem const>> const& items);
52
53 MCAPI void $postDeleteContent(::std::vector<::std::shared_ptr<::ContentItem const>> const& items);
54 // NOLINTEND
55};
Definition ILevelListCache.h:27
Definition ContentItem.h:5
Definition ContentSource.h:5
Definition LevelSummary.h:30
Definition WorldContentSource.h:5