Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ItemGroup.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/ItemInstance.h"
7
8class ItemGroup {
9public:
10 // member variables
11 // NOLINTBEGIN
12 ::ll::TypedStorage<8, 128, ::ItemInstance> mItemTemplate;
13 ::ll::TypedStorage<4, 8, ::std::optional<int>> mStackSize;
14 // NOLINTEND
15
16#ifdef LL_PLAT_S
17#else // LL_PLAT_C
18public:
19 // prevent constructor by default
20 ItemGroup();
21
22#endif
23public:
24 // member functions
25 // NOLINTBEGIN
26#ifdef LL_PLAT_C
27 MCNAPI explicit ItemGroup(::ItemInstance const& itemInstance);
28
29 MCNAPI ItemGroup(::ItemInstance const& itemInstance, int count);
30
31 MCNAPI ::ItemInstance getItemInstanceCopy() const;
32#endif
33 // NOLINTEND
34
35public:
36 // constructor thunks
37 // NOLINTBEGIN
38#ifdef LL_PLAT_C
39 MCNAPI void* $ctor(::ItemInstance const& itemInstance);
40
41 MCNAPI void* $ctor(::ItemInstance const& itemInstance, int count);
42#endif
43 // NOLINTEND
44};
Definition ItemInstance.h:15