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
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 128, ::ItemInstance> mRecipeItem;
20 ::ll::TypedStorage<1, 1, bool> mIsRecipeCraftable;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ~CraftingOutputContainerController() /*override*/ = default;
27
28 virtual int getBackgroundStyle(int slot, bool inventoryContainsItem) const /*override*/;
29
30 virtual void onRecipeSelected(::Recipe const* recipe, uint64 gridSize, bool displayGhostItems) /*override*/;
31
32 virtual ::ItemInstance const& getRecipeItem(int slot) const /*override*/;
33
34 virtual void clearSelectedRecipe() /*override*/;
35
36 virtual bool _canRemove(int slot, int removeCount) const /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCNAPI_C void* $ctor(::std::shared_ptr<::ContainerModel> containerModel);
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54#ifdef LL_PLAT_C
55 MCNAPI int $getBackgroundStyle(int slot, bool inventoryContainsItem) const;
56
57 MCNAPI void $onRecipeSelected(::Recipe const* recipe, uint64 gridSize, bool displayGhostItems);
58
59 MCNAPI ::ItemInstance const& $getRecipeItem(int slot) const;
60
61 MCNAPI void $clearSelectedRecipe();
62
63 MCNAPI bool $_canRemove(int slot, int removeCount) const;
64#endif
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition ContainerModel.h:27
Definition CraftingContainerController.h:15
Definition CraftingOutputContainerController.h:15
static MCAPI void ** $vftable()
Definition Recipe.h:31