Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CreativeItemEntry.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/world/inventory/network/TypedServerNetId.h"
8#include "mc/world/item/ItemInstance.h"
9
10// auto generated forward declare list
11// clang-format off
14// clang-format on
15
16class CreativeItemEntry : public ::Bedrock::EnableNonOwnerReferences {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::CreativeItemRegistry*> mRegistry;
21 ::ll::TypedStorage<4, 4, uint> mGroupIndex;
22 ::ll::TypedStorage<4, 4, ::CreativeItemNetId> mCreativeNetId;
23 ::ll::TypedStorage<8, 128, ::ItemInstance> mItemInstance;
24 ::ll::TypedStorage<4, 4, uint> mIndex;
25 // NOLINTEND
26
27#ifdef LL_PLAT_S
28#else // LL_PLAT_C
29public:
30 // prevent constructor by default
31 CreativeItemEntry();
32
33#endif
34public:
35 // member functions
36 // NOLINTBEGIN
37#ifdef LL_PLAT_C
38 MCNAPI CreativeItemEntry(
39 ::CreativeItemRegistry* registry,
40 ::CreativeItemNetId const& creativeNetId,
41 ::ItemInstance const& item,
42 uint index
43 );
44#endif
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50#ifdef LL_PLAT_C
51 MCNAPI void* $ctor(
52 ::CreativeItemRegistry* registry,
53 ::CreativeItemNetId const& creativeNetId,
54 ::ItemInstance const& item,
55 uint index
56 );
57#endif
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCNAPI static void** $vftable();
64 // NOLINTEND
65};
Definition EnableNonOwnerReferences.h:7
static MCAPI void ** $vftable()
Definition CreativeItemRegistry.h:23
Definition ItemInstance.h:15
Definition CreativeItemNetIdTag.h:5