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/inventory/simulation/validation/ContainerValidationBase.h"
7
8// auto generated forward declare list
9// clang-format off
11class ItemStackBase;
12// clang-format on
13
14class MaterialReducerInputValidation : public ::ContainerValidationBase {
15public:
16 // member variables
17 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 MaterialReducerInputValidation& operator=(MaterialReducerInputValidation const&);
25 MaterialReducerInputValidation(MaterialReducerInputValidation const&);
26 MaterialReducerInputValidation();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual bool isItemAllowedInSlot(
32 ::ContainerScreenContext const& screenContext,
33 int const slot,
34 ::ItemStackBase const& item,
35 int const amount,
36 bool
37 ) const /*override*/;
38
39 virtual int getAvailableSetCount(int slot, ::ItemStackBase const& item) const /*override*/;
40
41 virtual int getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const /*override*/;
42
43 virtual int getContainerOffset(::ContainerScreenContext const& screenContext) const /*override*/;
44
45 virtual bool canDestroy(::ContainerScreenContext const& screenContext) const /*override*/;
46
47 virtual ~MaterialReducerInputValidation() /*override*/ = default;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCNAPI bool isItemAllowed(::ItemStackBase const& item) const;
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
60 ::ContainerScreenContext const& screenContext,
61 int const slot,
62 ::ItemStackBase const& item,
63 int const amount,
64 bool
65 ) const;
66
67 MCNAPI int $getAvailableSetCount(int slot, ::ItemStackBase const& item) const;
68
70
71 MCNAPI int $getContainerOffset(::ContainerScreenContext const& screenContext) const;
72
73 MCNAPI bool $canDestroy(::ContainerScreenContext const& screenContext) const;
74
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition ContainerScreenContext.h:17
Definition ContainerValidationBase.h:12
Definition ItemStackBase.h:44
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
Definition Alias.h:14