LeviLamina
Loading...
Searching...
No Matches
LabTableInputValidation.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(
21 ::ContainerScreenContext const& screenContext,
22 int const slot,
23 ::ItemStackBase const& item,
24 int const amount,
25 bool
26 ) const /*override*/;
27
28 // vIndex: 9
29 virtual int getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const
30 /*override*/;
31
32 // vIndex: 7
33 virtual bool canDestroy(::ContainerScreenContext const& screenContext) const /*override*/;
34
35 // vIndex: 0
36 virtual ~LabTableInputValidation() /*override*/ = default;
37 // NOLINTEND
38
39public:
40 // virtual function thunks
41 // NOLINTBEGIN
43 ::ContainerScreenContext const& screenContext,
44 int const slot,
45 ::ItemStackBase const& item,
46 int const amount,
47 bool
48 ) const;
49
50 MCNAPI int $getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const;
51
52 MCNAPI bool $canDestroy(::ContainerScreenContext const& screenContext) const;
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
Definition ContainerScreenContext.h:17
Definition ContainerValidationBase.h:12
Definition Container.h:30
Definition ItemStackBase.h:35
Definition LabTableInputValidation.h:15
MCAPI bool $canDestroy(::ContainerScreenContext const &screenContext) const
MCAPI int $getContainerSize(::ContainerScreenContext const &screenContext, ::Container const &container) const
MCAPI bool $isItemAllowedInSlot(::ContainerScreenContext const &screenContext, int const slot, ::ItemStackBase const &item, int const amount, bool) const
static MCAPI void ** $vftable()