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