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
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCNAPI ::std::unique_ptr<::CompoundTag> createTag(::Actor& owner) const;
30
31 MCNAPI bool onItemChanged(::Actor& owner, uint64 slotIdx, ::ItemStack const& item) const;
32
33 MCNAPI ::EquippableComponent& operator=(::EquippableComponent&& other);
34 // NOLINTEND
35};
Definition Actor.h:103
Definition CompoundTag.h:13
Definition EquippableComponent.h:13
MCAPI ::std::unique_ptr<::CompoundTag > createTag(::Actor &owner) const
MCAPI::EquippableComponent & operator=(::EquippableComponent &&other)
MCAPI bool onItemChanged(::Actor &owner, uint64 slotIdx, ::ItemStack const &item) const
Definition ItemStack.h:25
Definition SlotDescriptor.h:10