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
16class MaterialReducerInputValidation : public ::ContainerValidationBase {
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 // prevent constructor by default
26 MaterialReducerInputValidation();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual bool isItemAllowedInSlot(
32 ::ContainerScreenContext const& item,
33 int const amount,
34 ::ItemStackBase const&,
35 int const,
36 bool
37 ) const /*override*/;
38
39 virtual int getAvailableSetCount(int, ::ItemStackBase const&) const /*override*/;
40
41 virtual int getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const /*override*/;
42
43 virtual int getContainerOffset(::ContainerScreenContext const&) const /*override*/;
44
45 virtual bool canDestroy(::ContainerScreenContext const& screenContext) const /*override*/;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI explicit MaterialReducerInputValidation(::ContainerScreenContext const& screenContext);
52
53 MCAPI bool isItemAllowed(::ItemStackBase const& item) const;
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(::ContainerScreenContext const& screenContext);
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI bool $isItemAllowedInSlot(
66 ::ContainerScreenContext const& item,
67 int const amount,
68 ::ItemStackBase const&,
69 int const,
70 bool
71 ) const;
72
73 MCFOLD int $getAvailableSetCount(int, ::ItemStackBase const&) const;
74
75 MCFOLD int $getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const;
76
77 MCFOLD int $getContainerOffset(::ContainerScreenContext const&) const;
78
79 MCFOLD bool $canDestroy(::ContainerScreenContext const& screenContext) const;
80
81
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition BlockReducer.h:12
Definition ContainerScreenContext.h:19
Definition ContainerValidationBase.h:12
Definition ItemStackBase.h:52
static MCAPI void ** $vftable()