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
// destructor thunk
51
// NOLINTBEGIN
52
53
// NOLINTEND
54
55
public
:
56
// virtual function thunks
57
// NOLINTBEGIN
58
MCAPI
bool
$isItemAllowedInSlot(
59
::ContainerScreenContext
const
&,
60
int
const
slot,
61
::ItemStackBase
const
& item,
62
int
const
amount,
63
bool
64
)
const
;
65
66
MCFOLD
int
$getAvailableSetCount(
int
const
slot,
::ItemStackBase
const
& item)
const
;
67
68
MCAPI
bool
$isItemAllowedToRemove(
::ContainerScreenContext
const
& screenContext,
::ItemStackBase
const
& item)
const
;
69
70
MCFOLD
int
$getAllowedAddCount(
::ContainerScreenContext
const
&,
::ItemStackBase
const
&)
const
;
71
72
MCFOLD
bool
$canItemMoveToContainer(
::ItemStackBase
const
& item)
const
;
73
74
MCFOLD
int
$getContainerSize(
::ContainerScreenContext
const
& screenContext,
::Container
const
& container)
const
;
75
// NOLINTEND
76
77
public
:
78
// vftables
79
// NOLINTBEGIN
80
MCAPI
static
void
** $vftable();
81
// NOLINTEND
82
};
ArmorContainerValidation
Definition
ArmorContainerValidation.h:15
ContainerScreenContext
Definition
ContainerScreenContext.h:11
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 Sat Apr 26 2025 05:56:11 for LeviLamina by
1.12.0