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*/;
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 // destructor thunk
46 // NOLINTBEGIN
47 MCAPI void $dtor();
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI void $load();
54
55 MCAPI void $generateItems(::std::vector<::std::shared_ptr<::ContentItem>>& content);
56
57 MCAPI void $deleteContentFiles(::std::vector<::std::shared_ptr<::ContentItem const>> const& items);
58
59 MCAPI void $postDeleteContent(::std::vector<::std::shared_ptr<::ContentItem const>> const& items);
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
Definition ILevelListCache.h:27
Definition ContentItem.h:5
Definition ContentSource.h:5
Definition LevelSummary.h:30
Definition WorldContentSource.h:5
static MCAPI void ** $vftable()