LeviLamina
Loading...
Searching...
No Matches
ActorEvent.h
1#pragma once
2
3#include "ll/api/base/Macro.h"
4#include "ll/api/event/Event.h"
5
6#include "mc/world/actor/Actor.h"
7
8namespace ll::event::inline entity {
9
10class ActorEvent : public Event {
11 Actor& mSelf;
12
13protected:
14 constexpr explicit ActorEvent(Actor& actor) : mSelf(actor) {}
15
16public:
17 LLAPI void serialize(CompoundTag&) const override;
18
19 LLNDAPI Actor& self() const;
20};
21} // namespace ll::event::inline entity
Definition Actor.h:104
Definition CompoundTag.h:13
Definition ActorEvent.h:10
Definition serialize.h:11