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 virtual ~CraftingInputContainerController() /*override*/ = default;
34
35 virtual int getBackgroundStyle(int slot, bool inventoryContainsItem) const /*override*/;
36
37 virtual ::ItemInstance const& getRecipeItem(int slot) const /*override*/;
38
39 virtual void clearSelectedRecipe() /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45#ifdef LL_PLAT_C
46 MCNAPI explicit CraftingInputContainerController(::std::shared_ptr<::ContainerModel> containerModel);
47
48 MCNAPI void onRecipeSelectedWithSpecificIngredients(
49 ::Recipe const* recipe,
50 uint64 gridSize,
51 bool displayGhostItems,
52 ::std::vector<::RecipeIngredient> const& ingredients
53 );
54#endif
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60#ifdef LL_PLAT_C
61 MCNAPI void* $ctor(::std::shared_ptr<::ContainerModel> containerModel);
62#endif
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68#ifdef LL_PLAT_C
69 MCNAPI int $getBackgroundStyle(int slot, bool inventoryContainsItem) const;
70
71 MCNAPI ::ItemInstance const& $getRecipeItem(int slot) const;
72
73 MCNAPI void $clearSelectedRecipe();
74#endif
75
76
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition ContainerModel.h:27
static MCAPI void ** $vftable()
Definition ItemInstance.h:15
Definition RecipeIngredient.h:17
Definition Recipe.h:31