Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BlockNeighborChangedEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/container/small_vector_base.h"
7#include "mc/world/level/block/block_events/BlockEventBase.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class BlockSource;
13struct NeighborChange;
14// clang-format on
15
16namespace BlockEvents {
17
18class BlockNeighborChangedEvent : public ::BlockEvents::BlockEventBase {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::Bedrock::small_vector_base<::NeighborChange> const&> mChanges;
23 ::ll::TypedStorage<8, 8, ::BlockSource&> mRegion;
24 ::ll::TypedStorage<8, 8, ::Block const&> mListenerPermutation;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 BlockNeighborChangedEvent& operator=(BlockNeighborChangedEvent const&);
30 BlockNeighborChangedEvent(BlockNeighborChangedEvent const&);
31 BlockNeighborChangedEvent();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ::Block const& getBlock() const /*override*/;
37
38 virtual ::BlockSource const& getBlockSource() const /*override*/;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCNAPI ::Block const& $getBlock() const;
45
46 MCNAPI ::BlockSource const& $getBlockSource() const;
47
48
49 // NOLINTEND
50
51public:
52 // vftables
53 // NOLINTBEGIN
54 MCNAPI static void** $vftable();
55 // NOLINTEND
56};
57
58} // namespace BlockEvents
Definition BlockEventBase.h:16
MCAPI::Block const & $getBlock() const
MCAPI::BlockSource const & $getBlockSource() const
Definition BlockSource.h:72
Definition Block.h:42
Definition NeighborChange.h:5