LeviLamina
Loading...
Searching...
No Matches
LeashableUtility.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/entity/utilities/leashable_utility/UnleashReason.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
12struct ActorUniqueID;
13// clang-format on
14
15namespace LeashableUtility {
16// functions
17// NOLINTBEGIN
18MCNAPI bool
19canStayLeashedTo(::Actor const& actor, ::Actor const& leashHolder, ::LeashableComponent const& leashableComponent);
20
21MCNAPI bool isBeingPulledByLeash(::Actor const& actor);
22
23MCNAPI void leash(::Actor& entityToLeash, ::Actor& leashHolder, bool emitGameEvent);
24
25MCNAPI void onLeashHolderSet(::Actor& actor, ::ActorUniqueID const& newLeashHolderID);
26
27MCNAPI void unleash(::Actor& entityToUnleash, ::LeashableUtility::UnleashReason unleashReason);
28// NOLINTEND
29
30} // namespace LeashableUtility
Definition Actor.h:103
Definition LeashableComponent.h:15
Definition ActorUniqueID.h:5