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 virtual bool isItemAllowedInSlot(
21 int const slot,
22 ::ItemStackBase const& item,
23 int const amount,
24 bool
25 ) const /*override*/;
26
27 virtual int getAvailableSetCount(int const slot, ::ItemStackBase const& item) const /*override*/;
28
29 virtual bool isItemAllowedToRemove(::ContainerScreenContext const& screenContext, ::ItemStackBase const& item) const
30 /*override*/;
31
32 virtual int getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const /*override*/;
33
34 virtual bool canItemMoveToContainer(::ItemStackBase const& item) const /*override*/;
35
36 virtual int getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const
37 /*override*/;
38 // NOLINTEND
39
40public:
41 // virtual function thunks
42 // NOLINTBEGIN
43 MCAPI bool $isItemAllowedInSlot(
45 int const slot,
46 ::ItemStackBase const& item,
47 int const amount,
48 bool
49 ) const;
50
51 MCFOLD int $getAvailableSetCount(int const slot, ::ItemStackBase const& item) const;
52
53 MCAPI bool $isItemAllowedToRemove(::ContainerScreenContext const& screenContext, ::ItemStackBase const& item) const;
54
55 MCFOLD int $getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const;
56
57 MCFOLD bool $canItemMoveToContainer(::ItemStackBase const& item) const;
58
59 MCFOLD int $getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const;
60
61
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
Definition ArmorContainerValidation.h:15
static MCAPI void ** $vftable()
Definition ContainerScreenContext.h:16
Definition ContainerValidationBase.h:12
Definition Container.h:35
Definition ItemStackBase.h:44