Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MaterialReducerInputValidation.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/managers/controllers/CraftableCompounds.h"
7#include "mc/world/inventory/simulation/validation/ContainerValidationBase.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockReducer;
13class ItemStackBase;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::BlockReducer*> mBlockReducer;
21 ::ll::TypedStorage<8, 264, ::CraftableCompounds> mCraftableCompounds;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual bool isItemAllowedInSlot(
28 ::ContainerScreenContext const& screenContext,
29 int const slot,
30 ::ItemStackBase const& item,
31 int const amount,
32 bool
33 ) const /*override*/;
34
35 virtual int getAvailableSetCount(int slot, ::ItemStackBase const& item) const /*override*/;
36
37 virtual int getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const /*override*/;
38
39 virtual int getContainerOffset(::ContainerScreenContext const& screenContext) const /*override*/;
40
41 virtual bool canDestroy(::ContainerScreenContext const& screenContext) const /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCNAPI bool isItemAllowed(::ItemStackBase const& item) const;
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
54 ::ContainerScreenContext const& screenContext,
55 int const slot,
56 ::ItemStackBase const& item,
57 int const amount,
58 bool
59 ) const;
60
61 MCNAPI int $getAvailableSetCount(int slot, ::ItemStackBase const& item) const;
62
64
65 MCNAPI int $getContainerOffset(::ContainerScreenContext const& screenContext) const;
66
67 MCNAPI bool $canDestroy(::ContainerScreenContext const& screenContext) const;
68
69
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
Definition BlockReducer.h:14
Definition ContainerScreenContext.h:16
Definition ContainerValidationBase.h:12
Definition ItemStackBase.h:45
Definition MaterialReducerInputValidation.h:16
MCAPI bool $canDestroy(::ContainerScreenContext const &screenContext) const
MCAPI int $getAllowedAddCount(::ContainerScreenContext const &, ::ItemStackBase const &) const
MCAPI int $getAvailableSetCount(int slot, ::ItemStackBase const &item) const
MCAPI bool $isItemAllowedInSlot(::ContainerScreenContext const &screenContext, int const slot, ::ItemStackBase const &item, int const amount, bool) const
MCAPI int $getContainerOffset(::ContainerScreenContext const &screenContext) const
static MCAPI void ** $vftable()
MCAPI bool isItemAllowed(::ItemStackBase const &item) const