LeviLamina
Loading...
Searching...
No Matches
CraftingContainerController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/controllers/ContainerController.h"
7
8// auto generated forward declare list
9// clang-format off
10class ItemInstance;
11class Recipe;
12// clang-format on
13
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 8, ::Recipe const*> mCurrentRecipe;
19 ::ll::TypedStorage<4, 4, int> mGridSize;
20 ::ll::TypedStorage<1, 1, bool> mDisplayOnlyGhostItems;
21 ::ll::TypedStorage<8, 24, ::std::vector<::ItemInstance>> mGhostItems;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 // vIndex: 0
28 virtual ~CraftingContainerController() /*override*/ = default;
29
30 // vIndex: 1
31 virtual ::ItemInstance const& getRecipeItem(int) const = 0;
32
33 // vIndex: 10
34 virtual void onRecipeSelected(::Recipe const*, uint64, bool);
35
36 // vIndex: 11
37 virtual void clearSelectedRecipe();
38
39 // vIndex: 12
40 virtual ::Recipe const* getSelectedRecipe() const;
41
42 // vIndex: 13
43 virtual void setGhostItem(::ItemInstance const&, int, bool);
44
45 // vIndex: 14
46 virtual ::ItemInstance const& getGhostItem(int) const;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52
53 // NOLINTEND
54};
Definition ContainerController.h:18
Definition CraftingContainerController.h:14
Definition ItemInstance.h:16
Definition Recipe.h:29