LeviLamina
Loading...
Searching...
No Matches
OffhandContainerValidation.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 bool isItemAllowedToRemove(::ContainerScreenContext const& screenContext, ::ItemStackBase const& item) const
27 /*override*/;
28
29 virtual bool canItemMoveToContainer(::ItemStackBase const& item) const /*override*/;
30
31 virtual int getContainerOffset(::ContainerScreenContext const& screenContext) const /*override*/;
32
33 virtual ~OffhandContainerValidation() /*override*/ = default;
34 // NOLINTEND
35
36public:
37 // virtual function thunks
38 // NOLINTBEGIN
40 ::ContainerScreenContext const& screenContext,
41 int const slot,
42 ::ItemStackBase const& item,
43 int const amount,
44 bool
45 ) const;
46
47 MCNAPI bool
48 $isItemAllowedToRemove(::ContainerScreenContext const& screenContext, ::ItemStackBase const& item) const;
49
50 MCNAPI bool $canItemMoveToContainer(::ItemStackBase const& item) const;
51
52 MCNAPI int $getContainerOffset(::ContainerScreenContext const& screenContext) const;
53
54
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCNAPI static void** $vftable();
61 // NOLINTEND
62};
Definition ContainerScreenContext.h:17
Definition ContainerValidationBase.h:12
Definition ItemStackBase.h:44
Definition OffhandContainerValidation.h:14
MCAPI bool $isItemAllowedInSlot(::ContainerScreenContext const &screenContext, int const slot, ::ItemStackBase const &item, int const amount, bool) const
static MCAPI void ** $vftable()
MCAPI bool $canItemMoveToContainer(::ItemStackBase const &item) const
MCAPI bool $isItemAllowedToRemove(::ContainerScreenContext const &screenContext, ::ItemStackBase const &item) const
MCAPI int $getContainerOffset(::ContainerScreenContext const &screenContext) const