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
17class CreativeItemGroupCategory : public ::Bedrock::EnableNonOwnerReferences {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 32, ::std::string> mName;
22 ::ll::TypedStorage<4, 4, ::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 // prevent constructor by default
30 CreativeItemGroupCategory();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~CreativeItemGroupCategory() /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI CreativeItemGroupCategory(
42 ::CreativeItemRegistry* registry,
43 ::std::string const& name,
44 ::SharedTypes::CreativeItemCategory category
45 );
46
47 MCAPI ::CreativeGroupInfo* addAnonymousGroup();
48
49 MCAPI ::CreativeGroupInfo* addChildGroup(::HashedString const& name, ::ItemInstance const& icon);
50
51 MCAPI ::CreativeGroupInfo* getChildGroup(::HashedString const& name);
52
53#ifdef LL_PLAT_C
54 MCAPI uint getGroupIndex(uint64 i) const;
55
56 MCAPI uint64 getGroupIndexCount() const;
57#endif
58
59 MCAPI ::CreativeGroupInfo* getOrAddTailAnonymousGroup();
60
61#ifdef LL_PLAT_C
62 MCAPI uint64 getTotalNumberChildItems();
63#endif
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCAPI void*
70 $ctor(::CreativeItemRegistry* registry, ::std::string const& name, ::SharedTypes::CreativeItemCategory category);
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCAPI void $dtor();
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition EnableNonOwnerReferences.h:7
Definition CreativeGroupInfo.h:17
static MCAPI void ** $vftable()
Definition CreativeItemRegistry.h:23
Definition HashedString.h:5
Definition ItemInstance.h:15