LeviLamina
Loading...
Searching...
No Matches
MobEffectPacketUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/packet/MobEffectPacketPayload.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class EntityContext;
13class MobEffectPacket;
14// clang-format on
15
16namespace MobEffectPacketUtils {
17// functions
18// NOLINTBEGIN
19#ifdef LL_PLAT_C
20MCNAPI void applyPacket(::Actor& actor, ::MobEffectPacket const& packet);
21#endif
22
23MCNAPI ::std::optional<::MobEffectPacket> createPacket(
24 ::MobEffectPacketPayload::Event eventType,
25 ::MobEffectInstance const& effect,
26 ::EntityContext const& sourceEntity
27);
28// NOLINTEND
29
30} // namespace MobEffectPacketUtils
Definition Actor.h:106
Definition EntityContext.h:16
Definition MobEffectInstance.h:15
Definition MobEffectPacket.h:19