LeviLamina
Loading...
Searching...
No Matches
CraftingContainer.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/Container.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ItemStack
;
11
class
Player
;
12
// clang-format on
13
14
class
CraftingContainer
:
public
::Container
{
15
public
:
16
// member variables
17
// NOLINTBEGIN
18
::ll::TypedStorage<8, 24, ::std::vector<::ItemStack>> mItems;
19
::ll::TypedStorage<4, 4, int> mWidth;
20
// NOLINTEND
21
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
// vIndex: 0
26
virtual
~CraftingContainer
()
/*override*/
;
27
28
// vIndex: 7
29
virtual ::ItemStack
const
& getItem(
int
slot)
const
/*override*/
;
30
31
// vIndex: 12
32
virtual
void
setItem(
int
modelSlot,
::ItemStack
const
& item)
/*override*/
;
33
34
// vIndex: 20
35
virtual
int
getContainerSize()
const
/*override*/
;
36
37
// vIndex: 21
38
virtual
int
getMaxStackSize()
const
/*override*/
;
39
40
// vIndex: 31
41
virtual
void
setContainerChanged(
int
slot)
/*override*/
;
42
43
// vIndex: 22
44
virtual
void
startOpen(
::Player
&)
/*override*/
;
45
46
// vIndex: 23
47
virtual
void
stopOpen(
::Player
& player)
/*override*/
;
48
49
// vIndex: 2
50
virtual
void
serverInitItemStackIds(
51
int
containerSlot,
52
int
count,
53
::std::function<
void
(
int
,
::ItemStack
const
&)> onNetIdChanged
54
)
/*override*/
;
55
// NOLINTEND
56
57
public
:
58
// member functions
59
// NOLINTBEGIN
60
MCAPI
CraftingContainer
(
int
w,
int
h);
61
// NOLINTEND
62
63
public
:
64
// constructor thunks
65
// NOLINTBEGIN
66
MCAPI
void
* $ctor(
int
w,
int
h);
67
// NOLINTEND
68
69
public
:
70
// destructor thunk
71
// NOLINTBEGIN
72
MCAPI
void
$dtor();
73
// NOLINTEND
74
75
public
:
76
// virtual function thunks
77
// NOLINTBEGIN
78
MCAPI ::ItemStack
const
& $getItem(
int
slot)
const
;
79
80
MCAPI
void
$setItem(
int
modelSlot,
::ItemStack
const
& item);
81
82
MCFOLD
int
$getContainerSize()
const
;
83
84
MCFOLD
int
$getMaxStackSize()
const
;
85
86
MCFOLD
void
$setContainerChanged(
int
slot);
87
88
MCFOLD
void
$startOpen(
::Player
&);
89
90
MCFOLD
void
$stopOpen(
::Player
& player);
91
92
MCFOLD
void
$serverInitItemStackIds(
93
int
containerSlot,
94
int
count,
95
::std::function<
void
(
int
,
::ItemStack
const
&)> onNetIdChanged
96
);
97
// NOLINTEND
98
99
public
:
100
// vftables
101
// NOLINTBEGIN
102
MCAPI
static
void
** $vftable();
103
// NOLINTEND
104
};
Container
Definition
Container.h:30
CraftingContainer
Definition
CraftingContainer.h:14
ItemStack
Definition
ItemStack.h:25
Player
Definition
Player.h:119
src
mc
world
inventory
CraftingContainer.h
Generated on Sat Apr 26 2025 05:56:10 for LeviLamina by
1.12.0