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 virtual bool isItemAllowedInSlot(
19 ::ContainerScreenContext const& screenContext,
20 int const slot,
21 ::ItemStackBase const& item,
22 int const amount,
23 bool
24 ) const /*override*/;
25
26 virtual int getAvailableSetCount(int slot, ::ItemStackBase const& item) const /*override*/;
27
28 virtual int getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const /*override*/;
29
30 virtual int getContainerOffset(::ContainerScreenContext const& screenContext) const /*override*/;
31 // NOLINTEND
32
33public:
34 // virtual function thunks
35 // NOLINTBEGIN
36 MCAPI bool $isItemAllowedInSlot(
37 ::ContainerScreenContext const& screenContext,
38 int const slot,
39 ::ItemStackBase const& item,
40 int const amount,
41 bool
42 ) const;
43
44 MCFOLD int $getAvailableSetCount(int slot, ::ItemStackBase const& item) const;
45
46 MCFOLD int $getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const;
47
48 MCFOLD int $getContainerOffset(::ContainerScreenContext const& screenContext) const;
49
50
51 // NOLINTEND
52
53public:
54 // vftables
55 // NOLINTBEGIN
56 MCNAPI static void** $vftable();
57 // NOLINTEND
58};
Definition ContainerScreenContext.h:19
Definition ContainerValidationBase.h:12
Definition EnchantingInputContainerValidation.h:14
static MCAPI void ** $vftable()
Definition ItemStackBase.h:52