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