LeviLamina
Loading...
Searching...
No Matches
EquippableComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
8class CompoundTag;
9class ItemStack;
10struct SlotDescriptor;
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 24, ::std::vector<::SlotDescriptor>> mSlots;
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
24
25public:
26 // member functions
27 // NOLINTBEGIN
28 MCAPI ::std::unique_ptr<::CompoundTag> createTag(::Actor& owner) const;
29
30 MCAPI bool onItemChanged(::Actor& owner, uint64 slotIdx, ::ItemStack const& item) const;
31
32 MCAPI ::EquippableComponent& operator=(::EquippableComponent&& other);
33 // NOLINTEND
34};
Definition Actor.h:104
Definition CompoundTag.h:13
Definition EquippableComponent.h:13
Definition ItemStack.h:25
Definition SlotDescriptor.h:10