LeviLamina
Loading...
Searching...
No Matches
ContainerController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/controllers/ItemSetType.h"
7
8// auto generated forward declare list
9// clang-format off
11class ItemInstance;
12class ItemStackBase;
13class Recipes;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 0
35 virtual ~ContainerController() = default;
36
37 // vIndex: 1
38 virtual ::ItemInstance const& getRecipeItem(int) const;
39
40 // vIndex: 2
41 virtual bool canRemove(int, int) const;
42
43 // vIndex: 3
44 virtual bool isItemAllowed(::ItemStackBase const&) const;
45
46 // vIndex: 4
47 virtual bool isItemFiltered(::Recipes const&, ::ItemStackBase const&) const;
48
49 // vIndex: 5
50 virtual int getBackgroundStyle(int, bool) const;
51
52 // vIndex: 6
53 virtual ::ItemSetType
54 _canSet(::ContainerScreenContext const&, int, ::ItemStackBase const&, ::ItemTransferAmount) const;
55
56 // vIndex: 7
57 virtual int _getAvailableSetCount(::ContainerScreenContext const&, int, ::ItemStackBase const&) const;
58
59 // vIndex: 8
60 virtual bool _canRemove(int, int) const;
61
62 // vIndex: 9
63 virtual void _onItemChanged(int);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75
76 // NOLINTEND
77};
Definition ContainerController.h:17
Definition ContainerScreenContext.h:11
Definition ItemInstance.h:16
Definition ItemStackBase.h:35
Definition Recipes.h:36
Definition ItemTransferAmount.h:5
Definition Alias.h:14