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