Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BlockEventBlockTypeExecutor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/deps/core/utility/pub_sub/Subscription.h"
5
6// auto generated inclusion list
7#include "mc/platform/brstd/flat_map.h"
8#include "mc/world/level/block/block_events/IBlockEventExecutor.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace Bedrock::PubSub { class Subscription; }
13// clang-format on
14
15namespace BlockEvents::Detail {
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<
22 8,
23 48,
25 uint64,
27 ::std::less<uint64>,
28 ::std::vector<uint64>,
29 ::std::vector<::Bedrock::PubSub::Subscription>>>
30 mSubscriptions;
31 // NOLINTEND
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~BlockEventBlockTypeExecutor() /*override*/ = default;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCNAPI void
43 setOwnerSubscription(uint64 typeId, ::Bedrock::PubSub::Subscription&& subscription, bool assertOnDuplicate);
44 // NOLINTEND
45
46public:
47 // vftables
48 // NOLINTBEGIN
49 MCNAPI static void** $vftable();
50 // NOLINTEND
51};
52
53} // namespace BlockEvents::Detail
Definition Subscription.h:10
Definition BlockEventBlockTypeExecutor.h:17
MCAPI void setOwnerSubscription(uint64 typeId, ::Bedrock::PubSub::Subscription &&subscription, bool assertOnDuplicate)
Definition IBlockEventExecutor.h:10
Definition flat_map.h:15