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 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 virtual int getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const
28 /*override*/;
29
30 virtual bool canDestroy(::ContainerScreenContext const& screenContext) const /*override*/;
31
32 virtual ~LabTableInputValidation() /*override*/ = default;
33 // NOLINTEND
34
35public:
36 // virtual function thunks
37 // NOLINTBEGIN
39 ::ContainerScreenContext const& screenContext,
40 int const slot,
41 ::ItemStackBase const& item,
42 int const amount,
43 bool
44 ) const;
45
46 MCNAPI int $getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const;
47
48 MCNAPI bool $canDestroy(::ContainerScreenContext const& screenContext) const;
49
50
51 // NOLINTEND
52
53public:
54 // vftables
55 // NOLINTBEGIN
56 MCNAPI static void** $vftable();
57 // NOLINTEND
58};
Definition ContainerScreenContext.h:17
Definition ContainerValidationBase.h:12
Definition Container.h:33
Definition ItemStackBase.h:44
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()