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
ContainerModel
;
11
class
ContainerScreenContext
;
12
class
ItemInstance
;
13
class
ItemStackBase
;
14
class
Recipes
;
15
struct
ItemTransferAmount
;
16
// clang-format on
17
18
class
ContainerController
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 16, ::std::weak_ptr<::ContainerModel>> mContainerModel;
23
::ll::TypedStorage<1, 1, bool> mDrop;
24
// NOLINTEND
25
26
public
:
27
// virtual functions
28
// NOLINTBEGIN
29
// vIndex: 0
30
virtual
~ContainerController
() =
default
;
31
32
// vIndex: 1
33
virtual ::ItemInstance
const
& getRecipeItem(
int
)
const
;
34
35
// vIndex: 2
36
virtual
bool
canRemove(
int
,
int
)
const
;
37
38
// vIndex: 3
39
virtual
bool
isItemAllowed(
::ItemStackBase
const
&)
const
;
40
41
// vIndex: 4
42
virtual
bool
isItemFiltered(
::Recipes
const
&,
::ItemStackBase
const
&)
const
;
43
44
// vIndex: 5
45
virtual
int
getBackgroundStyle(
int
,
bool
)
const
;
46
47
// vIndex: 6
48
virtual ::ItemSetType
49
_canSet(
::ContainerScreenContext
const
&,
int
,
::ItemStackBase
const
&,
::ItemTransferAmount
)
const
;
50
51
// vIndex: 7
52
virtual
int
_getAvailableSetCount(
::ContainerScreenContext
const
&,
int
,
::ItemStackBase
const
&)
const
;
53
54
// vIndex: 8
55
virtual
bool
_canRemove(
int
,
int
)
const
;
56
57
// vIndex: 9
58
virtual
void
_onItemChanged(
int
);
59
// NOLINTEND
60
61
public
:
62
// virtual function thunks
63
// NOLINTBEGIN
64
65
// NOLINTEND
66
};
ContainerController
Definition
ContainerController.h:18
ContainerModel
Definition
ContainerModel.h:25
ContainerScreenContext
Definition
ContainerScreenContext.h:17
ItemInstance
Definition
ItemInstance.h:16
ItemStackBase
Definition
ItemStackBase.h:35
Recipes
Definition
Recipes.h:36
ItemTransferAmount
Definition
ItemTransferAmount.h:5
src
mc
world
containers
controllers
ContainerController.h
Generated on Fri Jun 13 2025 05:05:04 for LeviLamina by
1.12.0