LeviLamina
Loading...
Searching...
No Matches
BlockPlayerInteractEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/world/level/block/block_events/BlockEventBase.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockSource;
12class ItemStack;
13class Player;
14// clang-format on
15
16namespace BlockEvents {
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
23 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mSuccessful;
24 ::ll::TypedStorage<4, 16, ::std::optional<::Vec3> const> mHit;
25 ::ll::TypedStorage<1, 1, uchar const> mFace;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 2
38 virtual ::BlockSource const& getBlockSource() const /*override*/;
39
40 // vIndex: 0
41 virtual ~BlockPlayerInteractEvent() /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI void setPlayerSelectedItem(::ItemStack& item);
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCFOLD void $dtor();
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCFOLD ::BlockSource const& $getBlockSource() const;
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
68
69} // namespace BlockEvents
Definition BlockEventBase.h:16
Definition BlockPlayerInteractEvent.h:18
Definition BlockSource.h:67
Definition ItemStack.h:25
Definition Player.h:120