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
36 isValidSlotForContainer(::ContainerScreenContext const& screenContext, ::Container const& container, int const slot)
37 const /*override*/;
38 // NOLINTEND
39
40public:
41 // destructor thunk
42 // NOLINTBEGIN
43
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCFOLD bool $isItemAllowedInSlot(
50 ::ContainerScreenContext const& screenContext,
51 int const slot,
52 ::ItemStackBase const& item,
53 int const amount,
54 bool
55 ) const;
56
57 MCFOLD int $getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const;
58
59 MCFOLD bool $isValidSlotForContainer(
60 ::ContainerScreenContext const& screenContext,
61 ::Container const& container,
62 int const slot
63 ) const;
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCAPI static void** $vftable();
70 // NOLINTEND
71};
Definition ContainerScreenContext.h:11
Definition ContainerValidationBase.h:12
Definition Container.h:30
Definition ItemStackBase.h:35
Definition PreviewContainerValidation.h:15