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