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
15// clang-format on
16
17class CreativeItemEntry : public ::Bedrock::EnableNonOwnerReferences {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::CreativeItemRegistry*> mRegistry;
22 ::ll::TypedStorage<4, 4, uint> mGroupIndex;
23 ::ll::TypedStorage<4, 4, ::CreativeItemNetId> mCreativeNetId;
24 ::ll::TypedStorage<8, 128, ::ItemInstance> mItemInstance;
25 ::ll::TypedStorage<4, 4, uint> mIndex;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 CreativeItemEntry();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI CreativeItemEntry(
36 ::CreativeItemRegistry* registry,
37 ::CreativeItemNetId const& creativeNetId,
38 ::ItemInstance const& item,
39 uint index
40 );
41
42 MCFOLD ::CreativeItemNetId const& getCreativeNetId() const;
43
44 MCAPI ::CreativeGroupInfo* getGroup() const;
45
46 MCFOLD uint getGroupIndex() const;
47
48 MCFOLD uint getIndex() const;
49
50 MCFOLD ::ItemInstance const& getItemInstance() const;
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(
57 ::CreativeItemRegistry* registry,
58 ::CreativeItemNetId const& creativeNetId,
59 ::ItemInstance const& item,
60 uint index
61 );
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
Definition EnableNonOwnerReferences.h:7
Definition CreativeGroupInfo.h:17
static MCAPI void ** $vftable()
Definition CreativeItemRegistry.h:23
Definition ItemInstance.h:15
Definition CreativeItemNetIdTag.h:5