LeviLamina
Loading...
Searching...
No Matches
BlockPlayerPlacingEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/block_events/BlockCancellableEventBase.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class Block;
12class BlockSource;
13class Item;
14// clang-format on
15
16namespace BlockEvents {
17
18class BlockPlayerPlacingEvent : public ::BlockEvents::BlockCancellableEventBase {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::BlockSource&> mRegion;
23 ::ll::TypedStorage<8, 8, ::Actor&> mActor;
24 ::ll::TypedStorage<8, 8, ::gsl::not_null<::Block const*>> mPermutationToPlace;
25 ::ll::TypedStorage<8, 8, ::Item const&> mItem;
26 ::ll::TypedStorage<1, 1, uchar const> mFace;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 BlockPlayerPlacingEvent& operator=(BlockPlayerPlacingEvent const&);
32 BlockPlayerPlacingEvent(BlockPlayerPlacingEvent const&);
33 BlockPlayerPlacingEvent();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ::BlockSource const& getBlockSource() const /*override*/;
39
40 virtual ~BlockPlayerPlacingEvent() /*override*/;
41 // NOLINTEND
42
43public:
44 // destructor thunk
45 // NOLINTBEGIN
46 MCFOLD void $dtor();
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCFOLD ::BlockSource const& $getBlockSource() const;
53
54
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCNAPI static void** $vftable();
61 // NOLINTEND
62};
63
64} // namespace BlockEvents
Definition Actor.h:105
Definition BlockCancellableEventBase.h:10
static MCAPI void ** $vftable()
Definition BlockSource.h:68
Definition Block.h:43
Definition Item.h:69