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
virtual
bool
isItemAllowedInSlot(
20
::ContainerScreenContext
const
& slot,
21
int
const
item,
22
::ItemStackBase
const
& amount,
23
int
const
,
24
bool
25
)
const
/*override*/
;
26
27
virtual
int
getAvailableSetCount(
int
const
,
::ItemStackBase
const
&)
const
/*override*/
;
28
29
virtual
bool
isItemAllowedToRemove(
::ContainerScreenContext
const
& screenContext,
::ItemStackBase
const
& item)
const
30
/*override*/
;
31
32
virtual
int
getAllowedAddCount(
::ContainerScreenContext
const
&,
::ItemStackBase
const
&)
const
/*override*/
;
33
34
virtual
bool
canItemMoveToContainer(
::ItemStackBase
const
& item)
const
/*override*/
;
35
36
virtual
int
getContainerSize(
::ContainerScreenContext
const
& container,
::Container
const
&)
const
/*override*/
;
37
// NOLINTEND
38
39
public
:
40
// virtual function thunks
41
// NOLINTBEGIN
42
MCAPI
bool
$isItemAllowedInSlot(
43
::ContainerScreenContext
const
& slot,
44
int
const
item,
45
::ItemStackBase
const
& amount,
46
int
const
,
47
bool
48
)
const
;
49
50
MCFOLD
int
$getAvailableSetCount(
int
const
,
::ItemStackBase
const
&)
const
;
51
52
MCAPI
bool
$isItemAllowedToRemove(
::ContainerScreenContext
const
& screenContext,
::ItemStackBase
const
& item)
const
;
53
54
MCFOLD
int
$getAllowedAddCount(
::ContainerScreenContext
const
&,
::ItemStackBase
const
&)
const
;
55
56
MCFOLD
bool
$canItemMoveToContainer(
::ItemStackBase
const
& item)
const
;
57
58
MCFOLD
int
$getContainerSize(
::ContainerScreenContext
const
& container,
::Container
const
&)
const
;
59
60
61
// NOLINTEND
62
63
public
:
64
// vftables
65
// NOLINTBEGIN
66
MCNAPI
static
void
**
$vftable
();
67
// NOLINTEND
68
};
ArmorContainerValidation
Definition
ArmorContainerValidation.h:15
ArmorContainerValidation::$vftable
static MCAPI void ** $vftable()
ContainerScreenContext
Definition
ContainerScreenContext.h:19
ContainerValidationBase
Definition
ContainerValidationBase.h:12
Container
Definition
Container.h:34
ItemStackBase
Definition
ItemStackBase.h:52
src
mc
world
inventory
simulation
validation
ArmorContainerValidation.h
Generated on
for LeviLamina by
1.16.1