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