Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CreativeItemGroupCategory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
8#include "mc/deps/shared_types/item/CreativeItemCategory.h"
9
10// auto generated forward declare list
11// clang-format off
14class ItemInstance;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 32, ::std::string> mName;
22 ::ll::TypedStorage<1, 1, ::SharedTypes::CreativeItemCategory> mCategory;
23 ::ll::TypedStorage<8, 8, ::CreativeItemRegistry*> mRegistry;
24 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, uint>> mNamedGroupIndex;
25 ::ll::TypedStorage<8, 24, ::std::vector<uint>> mGroupIndexes;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31#ifdef LL_PLAT_S
32 virtual ~CreativeItemGroupCategory() /*override*/ = default;
33#else // LL_PLAT_C
34 virtual ~CreativeItemGroupCategory() /*override*/;
35#endif
36
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCNAPI ::CreativeGroupInfo* addAnonymousGroup();
43
44 MCNAPI ::CreativeGroupInfo* addChildGroup(::HashedString const& name, ::ItemInstance const& icon);
45
46 MCNAPI ::CreativeGroupInfo* getChildGroup(::HashedString const& name);
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52#ifdef LL_PLAT_C
53 MCNAPI void $dtor();
54#endif
55 // NOLINTEND
56};
Definition EnableNonOwnerReferences.h:7
Definition CreativeGroupInfo.h:17
Definition CreativeItemGroupCategory.h:17
MCAPI::CreativeGroupInfo * getChildGroup(::HashedString const &name)
MCAPI::CreativeGroupInfo * addAnonymousGroup()
MCAPI::CreativeGroupInfo * addChildGroup(::HashedString const &name, ::ItemInstance const &icon)
Definition CreativeItemRegistry.h:23
Definition HashedString.h:5
Definition ItemInstance.h:15