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<1, 1, bool> mEmitVibrations;
24 ::ll::TypedStorage<4, 8, ::std::optional<float>> mMovementModifier;
25 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseSubscription;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 7
32 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
33
34 // vIndex: 0
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 // NOLINTEND
55
56public:
57 // vftables
58 // NOLINTBEGIN
59 MCNAPI static void** $vftable();
60 // NOLINTEND
61};
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