LeviLamina
Loading...
Searching...
No Matches
MaterialReducerInputValidation.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/containers/managers/controllers/CraftableCompounds.h"
7
#include "mc/world/inventory/simulation/validation/ContainerValidationBase.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
BlockReducer
;
12
class
ContainerScreenContext
;
13
class
ItemStackBase
;
14
// clang-format on
15
16
class
MaterialReducerInputValidation
:
public
::ContainerValidationBase
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<8, 8, ::BlockReducer*> mBlockReducer;
21
::ll::TypedStorage<8, 264, ::CraftableCompounds> mCraftableCompounds;
22
// NOLINTEND
23
24
public
:
25
// virtual functions
26
// NOLINTBEGIN
27
virtual
bool
isItemAllowedInSlot(
28
::ContainerScreenContext
const
& screenContext,
29
int
const
slot,
30
::ItemStackBase
const
& item,
31
int
const
amount,
32
bool
33
)
const
/*override*/
;
34
35
virtual
int
getAvailableSetCount(
int
slot,
::ItemStackBase
const
& item)
const
/*override*/
;
36
37
virtual
int
getAllowedAddCount(
::ContainerScreenContext
const
&,
::ItemStackBase
const
&)
const
/*override*/
;
38
39
virtual
int
getContainerOffset(
::ContainerScreenContext
const
& screenContext)
const
/*override*/
;
40
41
virtual
bool
canDestroy(
::ContainerScreenContext
const
& screenContext)
const
/*override*/
;
42
// NOLINTEND
43
44
public
:
45
// member functions
46
// NOLINTBEGIN
47
#ifdef LL_PLAT_C
48
MCAPI
bool
isItemAllowed(
::ItemStackBase
const
& item)
const
;
49
#endif
50
// NOLINTEND
51
52
public
:
53
// virtual function thunks
54
// NOLINTBEGIN
55
MCAPI
bool
$isItemAllowedInSlot(
56
::ContainerScreenContext
const
& screenContext,
57
int
const
slot,
58
::ItemStackBase
const
& item,
59
int
const
amount,
60
bool
61
)
const
;
62
63
MCFOLD
int
$getAvailableSetCount(
int
slot,
::ItemStackBase
const
& item)
const
;
64
65
MCFOLD
int
$getAllowedAddCount(
::ContainerScreenContext
const
&,
::ItemStackBase
const
&)
const
;
66
67
MCFOLD
int
$getContainerOffset(
::ContainerScreenContext
const
& screenContext)
const
;
68
69
MCFOLD
bool
$canDestroy(
::ContainerScreenContext
const
& screenContext)
const
;
70
71
72
// NOLINTEND
73
74
public
:
75
// vftables
76
// NOLINTBEGIN
77
MCNAPI
static
void
**
$vftable
();
78
// NOLINTEND
79
};
BlockReducer
Definition
BlockReducer.h:14
ContainerScreenContext
Definition
ContainerScreenContext.h:16
ContainerValidationBase
Definition
ContainerValidationBase.h:12
ItemStackBase
Definition
ItemStackBase.h:44
MaterialReducerInputValidation
Definition
MaterialReducerInputValidation.h:16
MaterialReducerInputValidation::$vftable
static MCAPI void ** $vftable()
src
mc
world
inventory
simulation
validation
MaterialReducerInputValidation.h
Generated on
for LeviLamina by
1.16.1