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