LeviLamina
Loading...
Searching...
No Matches
CraftingInputContainerController.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 Recipe;
14// clang-format on
15
16class CraftingInputContainerController : public ::CraftingContainerController {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 24, ::std::vector<::ItemInstance>> mRecipeItems;
21 // NOLINTEND
22
23#ifdef LL_PLAT_S
24#else // LL_PLAT_C
25public:
26 // prevent constructor by default
27 CraftingInputContainerController();
28
29#endif
30public:
31 // virtual functions
32 // NOLINTBEGIN
33#ifdef LL_PLAT_S
34 virtual ~CraftingInputContainerController() /*override*/ = default;
35#else // LL_PLAT_C
36 virtual ~CraftingInputContainerController() /*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 inventoryContainsItem) 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 slot) const /*override*/;
49#endif
50
51 virtual void clearSelectedRecipe() /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57#ifdef LL_PLAT_C
58 MCNAPI explicit CraftingInputContainerController(::std::shared_ptr<::ContainerModel> containerModel);
59
60 MCNAPI void onRecipeSelectedWithSpecificIngredients(
61 ::Recipe const* recipe,
62 uint64 gridSize,
63 bool displayGhostItems,
64 ::std::vector<::RecipeIngredient> const& ingredients
65 );
66#endif
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72#ifdef LL_PLAT_C
73 MCNAPI void* $ctor(::std::shared_ptr<::ContainerModel> containerModel);
74#endif
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCNAPI void $dtor();
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86#ifdef LL_PLAT_C
87 MCNAPI int $getBackgroundStyle(int slot, bool inventoryContainsItem) const;
88
89 MCNAPI ::ItemInstance const& $getRecipeItem(int slot) const;
90
91 MCNAPI void $clearSelectedRecipe();
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 RecipeIngredient.h:16
Definition Recipe.h:32