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
10
struct
ContentItem
;
11
// clang-format on
12
13
struct
ContentSource
{
14
public
:
15
// ContentSource inner types define
16
using
ConstContentItemPtr = ::std::shared_ptr<::ContentItem const>;
17
18
using
ContentItemPtr = ::std::shared_ptr<::ContentItem>;
19
20
public
:
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
27
public
:
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
45
public
:
46
// destructor thunk
47
// NOLINTBEGIN
48
MCAPI
void
$dtor();
49
// NOLINTEND
50
51
public
:
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
67
public
:
68
// vftables
69
// NOLINTBEGIN
70
MCNAPI
static
void
**
$vftable
();
71
// NOLINTEND
72
};
ContentItem
Definition
ContentItem.h:5
ContentSource
Definition
ContentSource.h:5
ContentSource::$vftable
static MCAPI void ** $vftable()
src-client
mc
client
gui
screens
models
ContentSource.h
Generated on
for LeviLamina by
1.16.1