LeviLamina
Loading...
Searching...
No Matches
BlockPlayerDestroyEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/block_events/BlockEventBase.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BlockPos;
12class BlockSource;
13class Player;
14class RenderParams;
15// clang-format on
16
17namespace BlockEvents {
18
19class BlockPlayerDestroyEvent : public ::BlockEvents::BlockEventBase {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
24 ::ll::TypedStorage<8, 8, ::Block const&> mDestroyedBlock;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 BlockPlayerDestroyEvent& operator=(BlockPlayerDestroyEvent const&);
30 BlockPlayerDestroyEvent(BlockPlayerDestroyEvent const&);
31 BlockPlayerDestroyEvent();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ::BlockSource const& getBlockSource() const /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI BlockPlayerDestroyEvent(::Player& player, ::BlockPos pos, ::Block const& destroyedBlock);
43
44 MCAPI void configureRenderParamsForTrigger(::RenderParams& params) const;
45
46 MCFOLD ::Player const& getPlayer() const;
47
48 MCFOLD bool isClientSide() const;
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void* $ctor(::Player& player, ::BlockPos pos, ::Block const& destroyedBlock);
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCFOLD ::BlockSource const& $getBlockSource() const;
61
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
71
72} // namespace BlockEvents
Definition BlockEventBase.h:16
static MCAPI void ** $vftable()
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition Player.h:137
Definition RenderParams.h:30