LeviLamina
Loading...
Searching...
No Matches
EnchantingInputContainerValidation.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 // virtual functions
17 // NOLINTBEGIN
18 // vIndex: 2
19 virtual bool isItemAllowedInSlot(
20 ::ContainerScreenContext const& screenContext,
21 int const slot,
22 ::ItemStackBase const& item,
23 int const amount,
24 bool
25 ) const /*override*/;
26
27 // vIndex: 3
28 virtual int getAvailableSetCount(int slot, ::ItemStackBase const& item) const /*override*/;
29
30 // vIndex: 4
31 virtual int getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const /*override*/;
32
33 // vIndex: 8
34 virtual int getContainerOffset(::ContainerScreenContext const& screenContext) const /*override*/;
35
36 // vIndex: 0
37 virtual ~EnchantingInputContainerValidation() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // virtual function thunks
42 // NOLINTBEGIN
44 ::ContainerScreenContext const& screenContext,
45 int const slot,
46 ::ItemStackBase const& item,
47 int const amount,
48 bool
49 ) const;
50
51 MCNAPI int $getAvailableSetCount(int slot, ::ItemStackBase const& item) const;
52
54
55 MCNAPI int $getContainerOffset(::ContainerScreenContext const& screenContext) const;
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
Definition ContainerScreenContext.h:17
Definition ContainerValidationBase.h:12
Definition EnchantingInputContainerValidation.h:14
MCAPI int $getAllowedAddCount(::ContainerScreenContext const &, ::ItemStackBase const &) const
MCAPI int $getAvailableSetCount(int slot, ::ItemStackBase const &item) const
static MCAPI void ** $vftable()
MCAPI bool $isItemAllowedInSlot(::ContainerScreenContext const &screenContext, int const slot, ::ItemStackBase const &item, int const amount, bool) const
MCAPI int $getContainerOffset(::ContainerScreenContext const &screenContext) const
Definition ItemStackBase.h:35