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
virtual
bool
canItemMoveToContainer(
::ItemStackBase
const
& item)
const
/*override*/
;
27
28
virtual
int
getContainerOffset(
::ContainerScreenContext
const
& screenContext)
const
/*override*/
;
29
30
virtual
int
getContainerSize(
::ContainerScreenContext
const
& screenContext,
::Container
const
& container)
const
31
/*override*/
;
32
33
virtual
bool
isItemAllowedInSlot(
34
::ContainerScreenContext
const
& screenContext,
35
int
const
,
36
::ItemStackBase
const
& item,
37
int
const
amount,
38
bool
isInternalTransfer
39
)
const
/*override*/
;
40
41
virtual
int
42
getAllowedAddCount(
::ContainerScreenContext
const
& screenContext,
::ItemStackBase
const
& itemInSlot)
const
43
/*override*/
;
44
45
virtual
~DynamicContainerValidation
()
/*override*/
=
default
;
46
// NOLINTEND
47
48
public
:
49
// virtual function thunks
50
// NOLINTBEGIN
51
MCNAPI
bool
$canItemMoveToContainer
(
::ItemStackBase
const
& item)
const
;
52
53
MCNAPI
int
$getContainerOffset
(
::ContainerScreenContext
const
& screenContext)
const
;
54
55
MCNAPI
int
$getContainerSize
(
::ContainerScreenContext
const
& screenContext,
::Container
const
& container)
const
;
56
57
MCNAPI
bool
$isItemAllowedInSlot
(
58
::ContainerScreenContext
const
& screenContext,
59
int
const
,
60
::ItemStackBase
const
& item,
61
int
const
amount,
62
bool
isInternalTransfer
63
)
const
;
64
65
MCNAPI
int
66
$getAllowedAddCount
(
::ContainerScreenContext
const
& screenContext,
::ItemStackBase
const
& itemInSlot)
const
;
67
68
69
// NOLINTEND
70
71
public
:
72
// vftables
73
// NOLINTBEGIN
74
MCNAPI
static
void
**
$vftable
();
75
// NOLINTEND
76
};
ContainerScreenContext
Definition
ContainerScreenContext.h:17
ContainerValidationBase
Definition
ContainerValidationBase.h:12
Container
Definition
Container.h:33
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:44
src
mc
world
inventory
simulation
validation
DynamicContainerValidation.h
Generated on
for LeviLamina by
1.16.1