LeviLamina
Loading...
Searching...
No Matches
CompoundCreatorInputValidation.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 ~CompoundCreatorInputValidation() /*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: 8
32 virtual int getContainerOffset(::ContainerScreenContext const& screenContext) const /*override*/;
33
34 // vIndex: 9
35 virtual int getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const
36 /*override*/;
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 $getContainerOffset(::ContainerScreenContext const& screenContext) const;
51
52 MCNAPI int $getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const;
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
Definition CompoundCreatorInputValidation.h:15
MCAPI int $getContainerOffset(::ContainerScreenContext const &screenContext) const
static MCAPI void ** $vftable()
MCAPI bool $isItemAllowedInSlot(::ContainerScreenContext const &screenContext, int const slot, ::ItemStackBase const &item, int const amount, bool) const
MCAPI int $getContainerSize(::ContainerScreenContext const &screenContext, ::Container const &container) const
Definition ContainerScreenContext.h:17
Definition ContainerValidationBase.h:12
Definition Container.h:30
Definition ItemStackBase.h:35