LeviLamina
Loading...
Searching...
No Matches
DynamicContainerValidation.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/containers/FullContainerName.h"
7
#include "mc/world/inventory/simulation/validation/ContainerValidationBase.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Container
;
12
class
ContainerScreenContext
;
13
class
ItemStackBase
;
14
// clang-format on
15
16
class
DynamicContainerValidation
:
public
::ContainerValidationBase
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<4, 12, ::FullContainerName> mContainerName;
21
// NOLINTEND
22
23
public
:
24
// virtual functions
25
// NOLINTBEGIN
26
// vIndex: 6
27
virtual
bool
canItemMoveToContainer(
::ItemStackBase
const
& item)
const
/*override*/
;
28
29
// vIndex: 8
30
virtual
int
getContainerOffset(
::ContainerScreenContext
const
& screenContext)
const
/*override*/
;
31
32
// vIndex: 9
33
virtual
int
getContainerSize(
::ContainerScreenContext
const
& screenContext,
::Container
const
& container)
const
34
/*override*/
;
35
36
// vIndex: 2
37
virtual
bool
isItemAllowedInSlot(
38
::ContainerScreenContext
const
& screenContext,
39
int
const
,
40
::ItemStackBase
const
& item,
41
int
const
amount,
42
bool
isInternalTransfer
43
)
const
/*override*/
;
44
45
// vIndex: 4
46
virtual
int
47
getAllowedAddCount(
::ContainerScreenContext
const
& screenContext,
::ItemStackBase
const
& itemInSlot)
const
48
/*override*/
;
49
50
// vIndex: 0
51
virtual
~DynamicContainerValidation
()
/*override*/
=
default
;
52
// NOLINTEND
53
54
public
:
55
// virtual function thunks
56
// NOLINTBEGIN
57
MCNAPI
bool
$canItemMoveToContainer
(
::ItemStackBase
const
& item)
const
;
58
59
MCNAPI
int
$getContainerOffset
(
::ContainerScreenContext
const
& screenContext)
const
;
60
61
MCNAPI
int
$getContainerSize
(
::ContainerScreenContext
const
& screenContext,
::Container
const
& container)
const
;
62
63
MCNAPI
bool
$isItemAllowedInSlot
(
64
::ContainerScreenContext
const
& screenContext,
65
int
const
,
66
::ItemStackBase
const
& item,
67
int
const
amount,
68
bool
isInternalTransfer
69
)
const
;
70
71
MCNAPI
int
72
$getAllowedAddCount
(
::ContainerScreenContext
const
& screenContext,
::ItemStackBase
const
& itemInSlot)
const
;
73
// NOLINTEND
74
75
public
:
76
// vftables
77
// NOLINTBEGIN
78
MCNAPI
static
void
**
$vftable
();
79
// NOLINTEND
80
};
ContainerScreenContext
Definition
ContainerScreenContext.h:17
ContainerValidationBase
Definition
ContainerValidationBase.h:12
Container
Definition
Container.h:30
DynamicContainerValidation
Definition
DynamicContainerValidation.h:16
DynamicContainerValidation::$vftable
static MCAPI void ** $vftable()
DynamicContainerValidation::$isItemAllowedInSlot
MCAPI bool $isItemAllowedInSlot(::ContainerScreenContext const &screenContext, int const, ::ItemStackBase const &item, int const amount, bool isInternalTransfer) const
DynamicContainerValidation::$canItemMoveToContainer
MCAPI bool $canItemMoveToContainer(::ItemStackBase const &item) const
DynamicContainerValidation::$getContainerSize
MCAPI int $getContainerSize(::ContainerScreenContext const &screenContext, ::Container const &container) const
DynamicContainerValidation::$getContainerOffset
MCAPI int $getContainerOffset(::ContainerScreenContext const &screenContext) const
DynamicContainerValidation::$getAllowedAddCount
MCAPI int $getAllowedAddCount(::ContainerScreenContext const &screenContext, ::ItemStackBase const &itemInSlot) const
ItemStackBase
Definition
ItemStackBase.h:35
src
mc
world
inventory
simulation
validation
DynamicContainerValidation.h
Generated on Fri Jun 13 2025 05:05:07 for LeviLamina by
1.12.0