LeviLamina
Loading...
Searching...
No Matches
ActorEvent.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 Actor;
11class BlockPos;
12class BlockSource;
13// clang-format on
14
15namespace BlockEvents {
16
17class ActorEvent : public ::BlockEvents::BlockEventBase {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::Actor&> mEntity;
22 ::ll::TypedStorage<8, 32, ::std::string const> mName;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 ActorEvent& operator=(ActorEvent const&);
28 ActorEvent(ActorEvent const&);
29 ActorEvent();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::BlockSource const& getBlockSource() const /*override*/;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI ActorEvent(::BlockPos pos, ::Actor& entity, ::std::string const& name);
41
42 MCFOLD ::Actor& getEntity() const;
43
44 MCFOLD ::std::string const& getName() const;
45
46 MCFOLD bool isClientSide() const;
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCFOLD void* $ctor(::BlockPos pos, ::Actor& entity, ::std::string const& name);
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCFOLD ::BlockSource const& $getBlockSource() const;
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
69
70} // namespace BlockEvents
Definition Actor.h:125
static MCAPI void ** $vftable()
Definition BlockEventBase.h:16
Definition BlockPos.h:21
Definition BlockSource.h:73