Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PiercingWeaponItemComponent.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/shared_types/FloatRange.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 SemVersion;
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18class PiercingWeaponItemComponent : public ::NetworkedItemComponent<::PiercingWeaponItemComponent> {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 8, ::SharedTypes::FloatRange> mReach;
23 ::ll::TypedStorage<4, 12, ::std::optional<::SharedTypes::FloatRange>> mCreativeReach;
24 ::ll::TypedStorage<4, 4, float> mHitboxMargin;
25 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseAsAttackSubscription;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
32 // NOLINTEND
33
34public:
35 // static functions
36 // NOLINTBEGIN
37 MCNAPI static void bindType(
39 ::std::vector<::AllExperiments> const& requiredToggles,
40 ::std::optional<::SemVersion> releasedMinFormatVersion
41 );
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
48
49
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCNAPI static void** $vftable();
56 // NOLINTEND
57};
Definition ComponentItem.h:52
Definition NetworkedItemComponent.h:7
Definition PiercingWeaponItemComponent.h:18
static MCAPI void ** $vftable()
static MCAPI void bindType(::cereal::ReflectionCtx &ctx, ::std::vector<::AllExperiments > const &requiredToggles, ::std::optional<::SemVersion > releasedMinFormatVersion)
MCAPI void $_initializeComponent(::ComponentItem &owner)
Definition SemVersion.h:15
Definition ReflectionCtx.h:11
Definition ctx.h:5