LeviLamina
Loading...
Searching...
No Matches
ArmorContainerValidation.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
ArmorContainerValidation
:
public
::ContainerValidationBase
{
16
public
:
17
// virtual functions
18
// NOLINTBEGIN
19
// vIndex: 2
20
virtual
bool
isItemAllowedInSlot(
21
::ContainerScreenContext
const
&,
22
int
const
slot,
23
::ItemStackBase
const
& item,
24
int
const
amount,
25
bool
26
)
const
/*override*/
;
27
28
// vIndex: 3
29
virtual
int
getAvailableSetCount(
int
const
slot,
::ItemStackBase
const
& item)
const
/*override*/
;
30
31
// vIndex: 5
32
virtual
bool
isItemAllowedToRemove(
::ContainerScreenContext
const
& screenContext,
::ItemStackBase
const
& item)
const
33
/*override*/
;
34
35
// vIndex: 4
36
virtual
int
getAllowedAddCount(
::ContainerScreenContext
const
&,
::ItemStackBase
const
&)
const
/*override*/
;
37
38
// vIndex: 6
39
virtual
bool
canItemMoveToContainer(
::ItemStackBase
const
& item)
const
/*override*/
;
40
41
// vIndex: 9
42
virtual
int
getContainerSize(
::ContainerScreenContext
const
& screenContext,
::Container
const
& container)
const
43
/*override*/
;
44
45
// vIndex: 0
46
virtual
~ArmorContainerValidation
()
/*override*/
=
default
;
47
// NOLINTEND
48
49
public
:
50
// virtual function thunks
51
// NOLINTBEGIN
52
MCNAPI
bool
$isItemAllowedInSlot
(
53
::ContainerScreenContext
const
&,
54
int
const
slot,
55
::ItemStackBase
const
& item,
56
int
const
amount,
57
bool
58
)
const
;
59
60
MCNAPI
int
$getAvailableSetCount
(
int
const
slot,
::ItemStackBase
const
& item)
const
;
61
62
MCNAPI
bool
63
$isItemAllowedToRemove
(
::ContainerScreenContext
const
& screenContext,
::ItemStackBase
const
& item)
const
;
64
65
MCNAPI
int
$getAllowedAddCount
(
::ContainerScreenContext
const
&,
::ItemStackBase
const
&)
const
;
66
67
MCNAPI
bool
$canItemMoveToContainer
(
::ItemStackBase
const
& item)
const
;
68
69
MCNAPI
int
$getContainerSize
(
::ContainerScreenContext
const
& screenContext,
::Container
const
& container)
const
;
70
// NOLINTEND
71
72
public
:
73
// vftables
74
// NOLINTBEGIN
75
MCNAPI
static
void
**
$vftable
();
76
// NOLINTEND
77
};
ArmorContainerValidation
Definition
ArmorContainerValidation.h:15
ArmorContainerValidation::$getAllowedAddCount
MCAPI int $getAllowedAddCount(::ContainerScreenContext const &, ::ItemStackBase const &) const
ArmorContainerValidation::$isItemAllowedToRemove
MCAPI bool $isItemAllowedToRemove(::ContainerScreenContext const &screenContext, ::ItemStackBase const &item) const
ArmorContainerValidation::$canItemMoveToContainer
MCAPI bool $canItemMoveToContainer(::ItemStackBase const &item) const
ArmorContainerValidation::$getContainerSize
MCAPI int $getContainerSize(::ContainerScreenContext const &screenContext, ::Container const &container) const
ArmorContainerValidation::$isItemAllowedInSlot
MCAPI bool $isItemAllowedInSlot(::ContainerScreenContext const &, int const slot, ::ItemStackBase const &item, int const amount, bool) const
ArmorContainerValidation::$getAvailableSetCount
MCAPI int $getAvailableSetCount(int const slot, ::ItemStackBase const &item) const
ArmorContainerValidation::$vftable
static MCAPI void ** $vftable()
ContainerScreenContext
Definition
ContainerScreenContext.h:17
ContainerValidationBase
Definition
ContainerValidationBase.h:12
Container
Definition
Container.h:30
ItemStackBase
Definition
ItemStackBase.h:35
src
mc
world
inventory
simulation
validation
ArmorContainerValidation.h
Generated on Fri Jun 13 2025 05:05:07 for LeviLamina by
1.12.0