LeviLamina
Loading...
Searching...
No Matches
ArmorContainerValidation.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
10class Container;
12class ItemStackBase;
13// clang-format on
14
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 // vIndex: 2
20 virtual bool isItemAllowedInSlot(
22 int const slot,
23 ::ItemStackBase const& item,
24 int const amount,
25 bool
26 ) const /*override*/;
27
28 // vIndex: 3
29 virtual int getAvailableSetCount(int const slot, ::ItemStackBase const& item) const /*override*/;
30
31 // vIndex: 5
32 virtual bool isItemAllowedToRemove(::ContainerScreenContext const& screenContext, ::ItemStackBase const& item) const
33 /*override*/;
34
35 // vIndex: 4
36 virtual int getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const /*override*/;
37
38 // vIndex: 6
39 virtual bool canItemMoveToContainer(::ItemStackBase const& item) const /*override*/;
40
41 // vIndex: 9
42 virtual int getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const
43 /*override*/;
44
45 // vIndex: 0
46 virtual ~ArmorContainerValidation() /*override*/ = default;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
54 int const slot,
55 ::ItemStackBase const& item,
56 int const amount,
57 bool
58 ) const;
59
60 MCNAPI int $getAvailableSetCount(int const slot, ::ItemStackBase const& item) const;
61
62 MCNAPI bool
63 $isItemAllowedToRemove(::ContainerScreenContext const& screenContext, ::ItemStackBase const& item) const;
64
66
67 MCNAPI bool $canItemMoveToContainer(::ItemStackBase const& item) const;
68
69 MCNAPI int $getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const;
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
Definition ArmorContainerValidation.h:15
MCAPI int $getAllowedAddCount(::ContainerScreenContext const &, ::ItemStackBase const &) const
MCAPI bool $isItemAllowedToRemove(::ContainerScreenContext const &screenContext, ::ItemStackBase const &item) const
MCAPI bool $canItemMoveToContainer(::ItemStackBase const &item) const
MCAPI int $getContainerSize(::ContainerScreenContext const &screenContext, ::Container const &container) const
MCAPI bool $isItemAllowedInSlot(::ContainerScreenContext const &, int const slot, ::ItemStackBase const &item, int const amount, bool) const
MCAPI int $getAvailableSetCount(int const slot, ::ItemStackBase const &item) const
static MCAPI void ** $vftable()
Definition ContainerScreenContext.h:17
Definition ContainerValidationBase.h:12
Definition Container.h:30
Definition ItemStackBase.h:35