LeviLamina
Loading...
Searching...
No Matches
ContainerController.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/containers/controllers/ItemSetType.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ContainerScreenContext
;
11
class
ItemInstance
;
12
class
ItemStackBase
;
13
class
Recipes
;
14
struct
ItemTransferAmount
;
15
// clang-format on
16
17
class
ContainerController
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::UntypedStorage<8, 16>
mUnk4c9590;
22
::ll::UntypedStorage<1, 1>
mUnk9c1c1c;
23
// NOLINTEND
24
25
public
:
26
// prevent constructor by default
27
ContainerController
& operator=(
ContainerController
const
&);
28
ContainerController
(
ContainerController
const
&);
29
ContainerController
();
30
31
public
:
32
// virtual functions
33
// NOLINTBEGIN
34
// vIndex: 0
35
virtual
~ContainerController
() =
default
;
36
37
// vIndex: 1
38
virtual ::ItemInstance
const
& getRecipeItem(
int
)
const
;
39
40
// vIndex: 2
41
virtual
bool
canRemove(
int
,
int
)
const
;
42
43
// vIndex: 3
44
virtual
bool
isItemAllowed(
::ItemStackBase
const
&)
const
;
45
46
// vIndex: 4
47
virtual
bool
isItemFiltered(
::Recipes
const
&,
::ItemStackBase
const
&)
const
;
48
49
// vIndex: 5
50
virtual
int
getBackgroundStyle(
int
,
bool
)
const
;
51
52
// vIndex: 6
53
virtual ::ItemSetType
54
_canSet(
::ContainerScreenContext
const
&,
int
,
::ItemStackBase
const
&,
::ItemTransferAmount
)
const
;
55
56
// vIndex: 7
57
virtual
int
_getAvailableSetCount(
::ContainerScreenContext
const
&,
int
,
::ItemStackBase
const
&)
const
;
58
59
// vIndex: 8
60
virtual
bool
_canRemove(
int
,
int
)
const
;
61
62
// vIndex: 9
63
virtual
void
_onItemChanged(
int
);
64
// NOLINTEND
65
66
public
:
67
// destructor thunk
68
// NOLINTBEGIN
69
70
// NOLINTEND
71
72
public
:
73
// virtual function thunks
74
// NOLINTBEGIN
75
76
// NOLINTEND
77
};
ContainerController
Definition
ContainerController.h:17
ContainerScreenContext
Definition
ContainerScreenContext.h:11
ItemInstance
Definition
ItemInstance.h:16
ItemStackBase
Definition
ItemStackBase.h:35
Recipes
Definition
Recipes.h:36
ItemTransferAmount
Definition
ItemTransferAmount.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
containers
controllers
ContainerController.h
Generated on Sat Apr 26 2025 05:56:07 for LeviLamina by
1.12.0