LeviLamina
Loading...
Searching...
No Matches
UseModifiersItemComponent.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/LevelSoundEvent.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 UseModifiersItemComponent : public ::NetworkedItemComponent<::UseModifiersItemComponent> {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, float> mUseDuration;
24 ::ll::TypedStorage<1, 1, bool> mEmitVibrations;
25 ::ll::TypedStorage<4, 8, ::std::optional<::SharedTypes::Legacy::LevelSoundEvent>> mStartSound;
26 ::ll::TypedStorage<4, 8, ::std::optional<float>> mMovementModifier;
27 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseSubscription;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
34
35 virtual ~UseModifiersItemComponent() /*override*/ = default;
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCAPI static void bindType(
43 ::std::vector<::AllExperiments> const& requiredToggles,
44 ::std::optional<::SemVersion> releasedMinFormatVersion
45 );
46
47 MCAPI static ::HashedString const& getIdentifier();
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI void $_initializeComponent(::ComponentItem& owner);
54
55
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
Definition ComponentItem.h:55
Definition HashedString.h:5
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:15
Definition UseModifiersItemComponent.h:19
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5