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/world/item/components/NetworkedItemComponent.h"
8#include "mc/world/level/storage/AllExperiments.h"
9
10// auto generated forward declare list
11// clang-format off
12class ComponentItem;
13class HashedString;
14class SemVersion;
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18class UseModifiersItemComponent : public ::NetworkedItemComponent<::UseModifiersItemComponent> {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, float> mUseDuration;
23 ::ll::TypedStorage<4, 8, ::std::optional<float>> mMovementModifier;
24 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseSubscription;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 7
31 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
32
33 // vIndex: 0
34 virtual ~UseModifiersItemComponent() /*override*/ = default;
35 // NOLINTEND
36
37public:
38 // static functions
39 // NOLINTBEGIN
40 MCAPI static void bindType(
42 ::std::vector<::AllExperiments> const& requiredToggles,
43 ::std::optional<::SemVersion> releasedMinFormatVersion
44 );
45
46 MCAPI static ::HashedString const& getIdentifier();
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCAPI void $_initializeComponent(::ComponentItem& owner);
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
Definition ComponentItem.h:53
Definition HashedString.h:5
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:16
Definition UseModifiersItemComponent.h:18
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5