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/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
MaterialReducerInputValidation
:
public
::ContainerValidationBase
{
15
public
:
16
// member variables
17
// NOLINTBEGIN
18
::ll::UntypedStorage<8, 8>
mUnk4c444e;
19
::ll::UntypedStorage<8, 264>
mUnk31aa8f;
20
// NOLINTEND
21
22
public
:
23
// prevent constructor by default
24
MaterialReducerInputValidation
& operator=(
MaterialReducerInputValidation
const
&);
25
MaterialReducerInputValidation
(
MaterialReducerInputValidation
const
&);
26
MaterialReducerInputValidation
();
27
28
public
:
29
// virtual functions
30
// NOLINTBEGIN
31
// vIndex: 2
32
virtual
bool
isItemAllowedInSlot(
33
::ContainerScreenContext
const
& screenContext,
34
int
const
slot,
35
::ItemStackBase
const
& item,
36
int
const
amount,
37
bool
38
)
const
/*override*/
;
39
40
// vIndex: 3
41
virtual
int
getAvailableSetCount(
int
slot,
::ItemStackBase
const
& item)
const
/*override*/
;
42
43
// vIndex: 4
44
virtual
int
getAllowedAddCount(
::ContainerScreenContext
const
&,
::ItemStackBase
const
&)
const
/*override*/
;
45
46
// vIndex: 8
47
virtual
int
getContainerOffset(
::ContainerScreenContext
const
& screenContext)
const
/*override*/
;
48
49
// vIndex: 7
50
virtual
bool
canDestroy(
::ContainerScreenContext
const
& screenContext)
const
/*override*/
;
51
52
// vIndex: 0
53
virtual
~MaterialReducerInputValidation
()
/*override*/
=
default
;
54
// NOLINTEND
55
56
public
:
57
// member functions
58
// NOLINTBEGIN
59
MCAPI
bool
isItemAllowed(
::ItemStackBase
const
& item)
const
;
60
// NOLINTEND
61
62
public
:
63
// destructor thunk
64
// NOLINTBEGIN
65
66
// NOLINTEND
67
68
public
:
69
// virtual function thunks
70
// NOLINTBEGIN
71
MCAPI
bool
$isItemAllowedInSlot(
72
::ContainerScreenContext
const
& screenContext,
73
int
const
slot,
74
::ItemStackBase
const
& item,
75
int
const
amount,
76
bool
77
)
const
;
78
79
MCFOLD
int
$getAvailableSetCount(
int
slot,
::ItemStackBase
const
& item)
const
;
80
81
MCFOLD
int
$getAllowedAddCount(
::ContainerScreenContext
const
&,
::ItemStackBase
const
&)
const
;
82
83
MCFOLD
int
$getContainerOffset(
::ContainerScreenContext
const
& screenContext)
const
;
84
85
MCFOLD
bool
$canDestroy(
::ContainerScreenContext
const
& screenContext)
const
;
86
// NOLINTEND
87
88
public
:
89
// vftables
90
// NOLINTBEGIN
91
MCAPI
static
void
** $vftable();
92
// NOLINTEND
93
};
ContainerScreenContext
Definition
ContainerScreenContext.h:11
ContainerValidationBase
Definition
ContainerValidationBase.h:12
ItemStackBase
Definition
ItemStackBase.h:35
MaterialReducerInputValidation
Definition
MaterialReducerInputValidation.h:14
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
inventory
simulation
validation
MaterialReducerInputValidation.h
Generated on Sat Apr 26 2025 05:56:12 for LeviLamina by
1.12.0