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 // vIndex: 2
19 virtual bool isItemAllowedInSlot(
20 ::ContainerScreenContext const& screenContext,
21 int const slot,
22 ::ItemStackBase const& item,
23 int const amount,
24 bool
25 ) const /*override*/;
26
27 // vIndex: 5
28 virtual bool isItemAllowedToRemove(::ContainerScreenContext const& screenContext, ::ItemStackBase const& item) const
29 /*override*/;
30
31 // vIndex: 6
32 virtual bool canItemMoveToContainer(::ItemStackBase const& item) const /*override*/;
33
34 // vIndex: 8
35 virtual int getContainerOffset(::ContainerScreenContext const& screenContext) const /*override*/;
36
37 // vIndex: 0
38 virtual ~OffhandContainerValidation() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
45 ::ContainerScreenContext const& screenContext,
46 int const slot,
47 ::ItemStackBase const& item,
48 int const amount,
49 bool
50 ) const;
51
52 MCNAPI bool
53 $isItemAllowedToRemove(::ContainerScreenContext const& screenContext, ::ItemStackBase const& item) const;
54
55 MCNAPI bool $canItemMoveToContainer(::ItemStackBase const& item) const;
56
57 MCNAPI int $getContainerOffset(::ContainerScreenContext const& screenContext) const;
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCNAPI static void** $vftable();
64 // NOLINTEND
65};
Definition ContainerScreenContext.h:17
Definition ContainerValidationBase.h:12
Definition ItemStackBase.h:35
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