LeviLamina
Loading...
Searching...
No Matches
LegacyOnHitBlockTriggerItemComponent.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/actor/DefinitionTrigger.h"
8#include "mc/world/item/components/LegacyTriggerItemComponent.h"
9
10// auto generated forward declare list
11// clang-format off
12class Block;
13class BlockPos;
15class HashedString;
16class ItemStack;
17class Mob;
19namespace Bedrock::PubSub { class Subscription; }
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnHitBlockSubscription;
27 ::ll::TypedStorage<8, 64, ::std::optional<::DefinitionTrigger>> mOnHitBlock;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 7
38 virtual void _initializeComponent() /*override*/;
39
40 // vIndex: 0
41 virtual ~LegacyOnHitBlockTriggerItemComponent() /*override*/ = default;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
48
49 MCAPI void _onHitBlock(::ItemStack& item, ::Block const&, ::BlockPos const& blockPos, ::Mob& attacker);
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static ::HashedString const& getIdentifier();
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(::LegacyOnHitBlockTriggerItemComponentData&& componentData);
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI void $_initializeComponent();
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
Definition BlockPos.h:18
Definition Block.h:38
Definition DefinitionTrigger.h:11
Definition HashedString.h:5
Definition ItemStack.h:25
Definition LegacyOnHitBlockTriggerItemComponent.h:22
static MCAPI void ** $vftable()
Definition LegacyTriggerItemComponent.h:17
Definition Mob.h:47
Definition LegacyOnHitBlockTriggerItemComponentData.h:5