LeviLamina
Loading...
Searching...
No Matches
WearableItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/pub_sub/Subscription.h"
7#include "mc/deps/shared_types/legacy/EquipmentSlot.h"
8#include "mc/world/item/components/NetworkedItemComponent.h"
9#include "mc/world/level/storage/AllExperiments.h"
10
11// auto generated forward declare list
12// clang-format off
13class ComponentItem;
14class HashedString;
15class SemVersion;
16namespace cereal { struct ReflectionCtx; }
17// clang-format on
18
19class WearableItemComponent : public ::NetworkedItemComponent<::WearableItemComponent> {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::EquipmentSlot> mEquipmentSlot;
24 ::ll::TypedStorage<4, 4, int> mProtection;
25 ::ll::TypedStorage<1, 1, bool> mHidesPlayerLocation;
26 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseSubscription;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCAPI static void bindType(
40 ::std::vector<::AllExperiments> const& requiredToggles,
41 ::std::optional<::SemVersion> releasedMinFormatVersion
42 );
43
44 MCAPI static ::HashedString const& getIdentifier();
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCAPI void $_initializeComponent(::ComponentItem& owner);
51
52
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
Definition ComponentItem.h:50
Definition HashedString.h:5
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:15
Definition WearableItemComponent.h:19
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5