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