3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/entity/utilities/leashable_utility/UnleashReason.h"
7#include "mc/platform/brstd/flat_set.h"
19namespace LeashableUtility {
24MCNAPI
bool canStayLeashedTo(
::Actor const& actor,
::Actor const& leashHolder,
float maxDistance);
26MCNAPI ::std::vector<::gsl::not_null<::Actor*>> getCuttableLeashedActors(
::Actor& actor,
::Player const* player);
28MCNAPI
float getDistanceSquared(
::Actor const& actor1,
::Actor const& actor2);
30MCNAPI ::LeashablePreset
const&
33MCNAPI
bool isBeingPulledByLeash(
::Actor const& actor);
35MCNAPI
void leash(
::Actor& entityToLeash,
::Actor& leashHolder,
bool emitGameEvent,
bool executeEntityEvent);
39MCNAPI
bool tryTransferLeashedActors(
45MCNAPI
void unleash(
::Actor& entityToUnleash, ::LeashableUtility::UnleashReason unleashReason);
Definition ActorInteraction.h:5
Definition LeashableComponent.h:13
Definition ActorUniqueID.h:5
Definition LeashablePreset.h:5