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