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
10
class
Actor
;
11
class
LeashableComponent
;
12
struct
ActorUniqueID
;
13
// clang-format on
14
15
namespace
LeashableUtility {
16
// functions
17
// NOLINTBEGIN
18
MCNAPI
bool
19
canStayLeashedTo(
::Actor
const
& actor,
::Actor
const
& leashHolder,
::LeashableComponent
const
& leashableComponent);
20
21
MCNAPI
bool
isBeingPulledByLeash(
::Actor
const
& actor);
22
23
MCNAPI
void
leash(
::Actor
& entityToLeash,
::Actor
& leashHolder,
bool
emitGameEvent);
24
25
MCNAPI
void
onLeashHolderSet(
::Actor
& actor,
::ActorUniqueID
const
& newLeashHolderID);
26
27
MCNAPI
void
unleash(
::Actor
& entityToUnleash, ::LeashableUtility::UnleashReason unleashReason);
28
// NOLINTEND
29
30
}
// namespace LeashableUtility
Actor
Definition
Actor.h:103
LeashableComponent
Definition
LeashableComponent.h:15
ActorUniqueID
Definition
ActorUniqueID.h:5
src
mc
entity
utilities
leashable_utility
LeashableUtility.h
Generated on Fri Jun 13 2025 05:04:35 for LeviLamina by
1.12.0