LeviLamina
Loading...
Searching...
No Matches
ContentSource.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/models/ContentSourceType.h"
7
8// auto generated forward declare list
9// clang-format off
10struct ContentItem;
11// clang-format on
12
13struct ContentSource {
14public:
15 // ContentSource inner types define
16 using ConstContentItemPtr = ::std::shared_ptr<::ContentItem const>;
17
18 using ContentItemPtr = ::std::shared_ptr<::ContentItem>;
19
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::ContentItem>>> mLoadedItems;
24 ::ll::TypedStorage<4, 4, ::ContentSourceType> mType;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ~ContentSource();
31
32 virtual void load();
33
34 virtual void generateItems(::std::vector<::std::shared_ptr<::ContentItem>>& content);
35
36 virtual void save();
37
38 virtual void saveAllPacks();
39
40 virtual void deleteContentFiles(::std::vector<::std::shared_ptr<::ContentItem const>> const& items);
41
42 virtual void postDeleteContent(::std::vector<::std::shared_ptr<::ContentItem const>> const& items);
43 // NOLINTEND
44
45public:
46 // destructor thunk
47 // NOLINTBEGIN
48 MCAPI void $dtor();
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCFOLD void $load();
55
56 MCFOLD void $generateItems(::std::vector<::std::shared_ptr<::ContentItem>>& content);
57
58 MCFOLD void $save();
59
60 MCFOLD void $saveAllPacks();
61
62 MCFOLD void $deleteContentFiles(::std::vector<::std::shared_ptr<::ContentItem const>> const& items);
63
64 MCFOLD void $postDeleteContent(::std::vector<::std::shared_ptr<::ContentItem const>> const& items);
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition ContentItem.h:5
Definition ContentSource.h:5
static MCAPI void ** $vftable()