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
8
namespace
ll::event::inline entity {
9
10
class
ActorEvent :
public
Event {
11
Actor
& mSelf;
12
13
protected
:
14
constexpr
explicit
ActorEvent(
Actor
& actor) : mSelf(actor) {}
15
16
public
:
17
LLAPI
void
serialize(
CompoundTag
&)
const override
;
18
19
LLNDAPI
Actor
& self()
const
;
20
};
21
22
}
// namespace ll::event::inline entity
Actor
Definition
Actor.h:105
CompoundTag
Definition
CompoundTag.h:23
src
ll
api
event
entity
ActorEvent.h
Generated on
for LeviLamina by
1.16.1