LeviLamina
Loading...
Searching...
No Matches
CreativeItemRegistry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/shared_types/item/CreativeItemCategory.h"
8#include "mc/platform/brstd/flat_map.h"
9#include "mc/world/inventory/network/TypedServerNetId.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockPalette;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 24, ::std::vector<::CreativeItemEntry>> mCreativeItems;
26 ::ll::TypedStorage<8, 24, ::std::vector<::CreativeGroupInfo>> mCreativeGroups;
27 ::ll::TypedStorage<8, 64, ::std::unordered_map<::SharedTypes::CreativeItemCategory, ::CreativeItemGroupCategory>>
28 mCreativeGroupCategories;
29 ::ll::TypedStorage<8, 64, ::std::unordered_map<::CreativeItemNetId, uint64>> mCreativeNetIdIndex;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~CreativeItemRegistry() /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41#ifdef LL_PLAT_C
43#endif
44
45 MCAPI ::brstd::flat_map<
46 ::SharedTypes::CreativeItemCategory,
47 ::gsl::not_null<::CreativeItemGroupCategory*>,
48 ::std::less<::SharedTypes::CreativeItemCategory>,
49 ::std::vector<::SharedTypes::CreativeItemCategory>,
50 ::std::vector<::gsl::not_null<::CreativeItemGroupCategory*>>> createCategories();
51
52#ifdef LL_PLAT_C
53 MCAPI void initializeFromCreativeContentPacket(
54 ::CreativeContentPacket const& creativeContentPacket,
55 ::BlockPalette const& blockPalette
56 );
57#endif
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63#ifdef LL_PLAT_C
64 MCAPI void* $ctor();
65#endif
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCAPI void $dtor();
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCNAPI static void** $vftable();
78 // NOLINTEND
79};
Definition EnableNonOwnerReferences.h:7
Definition BlockPalette.h:19
Definition CreativeContentPacket.h:19
Definition CreativeGroupInfo.h:17
Definition CreativeItemEntry.h:16
Definition CreativeItemGroupCategory.h:17
Definition CreativeItemRegistry.h:21
static MCAPI void ** $vftable()
Definition CreativeItemNetIdTag.h:5