LeviLamina
Loading...
Searching...
No Matches
CreativeContainerController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/controllers/CraftingContainerController.h"
7
8// auto generated forward declare list
9// clang-format off
10class ContainerModel;
11class ItemInstance;
12class ItemStackBase;
13class Recipes;
14// clang-format on
15
16class CreativeContainerController : public ::CraftingContainerController {
17#ifdef LL_PLAT_S
18#else // LL_PLAT_C
19public:
20 // prevent constructor by default
21 CreativeContainerController();
22
23#endif
24public:
25 // virtual functions
26 // NOLINTBEGIN
27#ifdef LL_PLAT_S
28 virtual ~CreativeContainerController() /*override*/ = default;
29#else // LL_PLAT_C
30 virtual ~CreativeContainerController() /*override*/;
31#endif
32
33#ifdef LL_PLAT_S
34 virtual int getBackgroundStyle(int, bool) const /*override*/;
35#else // LL_PLAT_C
36 virtual int getBackgroundStyle(int slot, bool) const /*override*/;
37#endif
38
39#ifdef LL_PLAT_S
40 virtual bool isItemFiltered(::Recipes const&, ::ItemStackBase const&) const /*override*/;
41#else // LL_PLAT_C
42 virtual bool isItemFiltered(::Recipes const& item, ::ItemStackBase const&) const /*override*/;
43#endif
44
45#ifdef LL_PLAT_S
46 virtual ::ItemInstance const& getRecipeItem(int) const /*override*/;
47#else // LL_PLAT_C
48 virtual ::ItemInstance const& getRecipeItem(int index) const /*override*/;
49#endif
50
51#ifdef LL_PLAT_S
52 virtual bool canRemove(int, int) const /*override*/;
53#else // LL_PLAT_C
54 virtual bool canRemove(int slot, int removeCount) const /*override*/;
55#endif
56
57 // NOLINTEND
58
59public:
60 // member functions
61 // NOLINTBEGIN
62#ifdef LL_PLAT_C
63 MCAPI explicit CreativeContainerController(::std::shared_ptr<::ContainerModel> containerModel);
64#endif
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70#ifdef LL_PLAT_C
71 MCAPI void* $ctor(::std::shared_ptr<::ContainerModel> containerModel);
72#endif
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78 MCAPI void $dtor();
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84#ifdef LL_PLAT_C
85 MCAPI int $getBackgroundStyle(int slot, bool) const;
86
87 MCAPI bool $isItemFiltered(::Recipes const& item, ::ItemStackBase const&) const;
88
89 MCFOLD ::ItemInstance const& $getRecipeItem(int index) const;
90
91 MCFOLD bool $canRemove(int slot, int removeCount) const;
92#endif
93
94
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCNAPI static void** $vftable();
101 // NOLINTEND
102};
Definition ContainerModel.h:28
static MCAPI void ** $vftable()
Definition ItemInstance.h:15
Definition ItemStackBase.h:52
Definition Recipes.h:36