LeviLamina
Loading...
Searching...
No Matches
OnPlacedTrigger.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
9// auto generated forward declare list
10// clang-format off
11namespace BlockEvents { class BlockEventManager; }
12namespace BlockEvents { class BlockPlaceEvent; }
13// clang-format on
14
15class OnPlacedTrigger : public ::DefinitionTrigger {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mEventSubscription;
20 // NOLINTEND
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ~OnPlacedTrigger() = default;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI void finalize(::BlockEvents::BlockEventManager& manager);
32
33 MCAPI void onPlace(::BlockEvents::BlockPlaceEvent const& eventData) const;
34 // NOLINTEND
35
36public:
37 // vftables
38 // NOLINTBEGIN
39 MCNAPI static void** $vftable();
40 // NOLINTEND
41};
Definition BlockEventManager.h:15
Definition BlockPlaceEvent.h:16
Definition OnPlacedTrigger.h:15
static MCAPI void ** $vftable()