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 // destructor thunk
51 // NOLINTBEGIN
52
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI bool $isItemAllowedInSlot(
60 int const slot,
61 ::ItemStackBase const& item,
62 int const amount,
63 bool
64 ) const;
65
66 MCFOLD int $getAvailableSetCount(int const slot, ::ItemStackBase const& item) const;
67
68 MCAPI bool $isItemAllowedToRemove(::ContainerScreenContext const& screenContext, ::ItemStackBase const& item) const;
69
70 MCFOLD int $getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const;
71
72 MCFOLD bool $canItemMoveToContainer(::ItemStackBase const& item) const;
73
74 MCFOLD int $getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const;
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCAPI static void** $vftable();
81 // NOLINTEND
82};
Definition ArmorContainerValidation.h:15
Definition ContainerScreenContext.h:11
Definition ContainerValidationBase.h:12
Definition Container.h:30
Definition ItemStackBase.h:35