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
16public:
17 // prevent constructor by default
18 ItemGroup();
19
20public:
21 // member functions
22 // NOLINTBEGIN
23 MCAPI explicit ItemGroup(::ItemInstance const& itemInstance);
24
25#ifdef LL_PLAT_C
26 MCAPI ItemGroup(::ItemInstance const& itemInstance, int count);
27
28 MCAPI int getCount() const;
29
30 MCAPI ::ItemInstance const& getItemInstance() const;
31
32 MCAPI ::ItemInstance getItemInstanceCopy() const;
33
34 MCFOLD ::ItemInstance const& getItemTemplate() const;
35#endif
36
37 MCAPI bool isEmpty() const;
38 // NOLINTEND
39
40public:
41 // constructor thunks
42 // NOLINTBEGIN
43 MCAPI void* $ctor(::ItemInstance const& itemInstance);
44
45#ifdef LL_PLAT_C
46 MCAPI void* $ctor(::ItemInstance const& itemInstance, int count);
47#endif
48 // NOLINTEND
49};
Definition ItemInstance.h:15