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 ItemInstance;
11class Recipe;
13// clang-format on
14
15class CraftingInputContainerController : public ::CraftingContainerController {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 24, ::std::vector<::ItemInstance>> mRecipeItems;
20 // NOLINTEND
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ~CraftingInputContainerController() /*override*/ = default;
26
27 virtual int getBackgroundStyle(int slot, bool inventoryContainsItem) const /*override*/;
28
29 virtual ::ItemInstance const& getRecipeItem(int slot) const /*override*/;
30
31 virtual void clearSelectedRecipe() /*override*/;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37#ifdef LL_PLAT_C
38 MCNAPI void onRecipeSelectedWithSpecificIngredients(
39 ::Recipe const* recipe,
40 uint64 gridSize,
41 bool displayGhostItems,
42 ::std::vector<::RecipeIngredient> const& ingredients
43 );
44#endif
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50#ifdef LL_PLAT_C
51 MCNAPI int $getBackgroundStyle(int slot, bool inventoryContainsItem) const;
52
53 MCNAPI ::ItemInstance const& $getRecipeItem(int slot) const;
54
55 MCNAPI void $clearSelectedRecipe();
56#endif
57
58
59 // NOLINTEND
60};
Definition CraftingInputContainerController.h:15
Definition ItemInstance.h:15
Definition RecipeIngredient.h:8
Definition Recipe.h:32