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
10
class
Container
;
11
class
ContainerScreenContext
;
12
class
ItemStackBase
;
13
// clang-format on
14
15
class
PreviewContainerValidation
:
public
::ContainerValidationBase
{
16
public
:
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
42
public
:
43
// virtual function thunks
44
// NOLINTBEGIN
45
MCNAPI
bool
$isItemAllowedInSlot
(
46
::ContainerScreenContext
const
& screenContext,
47
int
const
slot,
48
::ItemStackBase
const
& item,
49
int
const
amount,
50
bool
51
)
const
;
52
53
MCNAPI
int
$getAllowedAddCount
(
::ContainerScreenContext
const
&,
::ItemStackBase
const
&)
const
;
54
55
MCNAPI
bool
$isValidSlotForContainer
(
56
::ContainerScreenContext
const
& screenContext,
57
::Container
const
& container,
58
int
const
slot
59
)
const
;
60
// NOLINTEND
61
62
public
:
63
// vftables
64
// NOLINTBEGIN
65
MCNAPI
static
void
**
$vftable
();
66
// NOLINTEND
67
};
ContainerScreenContext
Definition
ContainerScreenContext.h:17
ContainerValidationBase
Definition
ContainerValidationBase.h:12
Container
Definition
Container.h:30
ItemStackBase
Definition
ItemStackBase.h:35
PreviewContainerValidation
Definition
PreviewContainerValidation.h:15
PreviewContainerValidation::$isItemAllowedInSlot
MCAPI bool $isItemAllowedInSlot(::ContainerScreenContext const &screenContext, int const slot, ::ItemStackBase const &item, int const amount, bool) const
PreviewContainerValidation::$vftable
static MCAPI void ** $vftable()
PreviewContainerValidation::$isValidSlotForContainer
MCAPI bool $isValidSlotForContainer(::ContainerScreenContext const &screenContext, ::Container const &container, int const slot) const
PreviewContainerValidation::$getAllowedAddCount
MCAPI int $getAllowedAddCount(::ContainerScreenContext const &, ::ItemStackBase const &) const
src
mc
world
inventory
simulation
validation
PreviewContainerValidation.h
Generated on Sat Jul 5 2025 06:58:53 for LeviLamina by
1.12.0