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
15public:
16 // member variables
17 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 2
32 virtual bool isItemAllowedInSlot(
33 ::ContainerScreenContext const& screenContext,
34 int const slot,
35 ::ItemStackBase const& item,
36 int const amount,
37 bool
38 ) const /*override*/;
39
40 // vIndex: 3
41 virtual int getAvailableSetCount(int slot, ::ItemStackBase const& item) const /*override*/;
42
43 // vIndex: 4
44 virtual int getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const /*override*/;
45
46 // vIndex: 8
47 virtual int getContainerOffset(::ContainerScreenContext const& screenContext) const /*override*/;
48
49 // vIndex: 7
50 virtual bool canDestroy(::ContainerScreenContext const& screenContext) const /*override*/;
51
52 // vIndex: 0
53 virtual ~MaterialReducerInputValidation() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCNAPI bool isItemAllowed(::ItemStackBase const& item) const;
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
66 ::ContainerScreenContext const& screenContext,
67 int const slot,
68 ::ItemStackBase const& item,
69 int const amount,
70 bool
71 ) const;
72
73 MCNAPI int $getAvailableSetCount(int slot, ::ItemStackBase const& item) const;
74
76
77 MCNAPI int $getContainerOffset(::ContainerScreenContext const& screenContext) const;
78
79 MCNAPI bool $canDestroy(::ContainerScreenContext const& screenContext) const;
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition ContainerScreenContext.h:17
Definition ContainerValidationBase.h:12
Definition ItemStackBase.h:35
Definition MaterialReducerInputValidation.h:14
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