LeviLamina
Loading...
Searching...
No Matches
NameableComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
Actor
;
8
class
ActorInteraction
;
9
class
Player
;
10
namespace
Bedrock::Safety {
class
RedactableString; }
11
// clang-format on
12
13
class
NameableComponent
{
14
public
:
15
// member variables
16
// NOLINTBEGIN
17
::ll::TypedStorage<1, 1, bool> mAllowNameTagRenaming;
18
::ll::TypedStorage<1, 1, bool> mAlwaysShow;
19
// NOLINTEND
20
21
public
:
22
// member functions
23
// NOLINTBEGIN
24
MCNAPI
bool
getInteraction
(
::Actor
& owner,
::Player
& player,
::ActorInteraction
& interaction);
25
26
MCNAPI
void
nameEntity
(
::Actor
& owner,
::Bedrock::Safety::RedactableString
const
& name);
27
// NOLINTEND
28
};
ActorInteraction
Definition
ActorInteraction.h:5
Actor
Definition
Actor.h:103
Bedrock::Safety::RedactableString
Definition
RedactableString.h:10
NameableComponent
Definition
NameableComponent.h:13
NameableComponent::getInteraction
MCAPI bool getInteraction(::Actor &owner, ::Player &player, ::ActorInteraction &interaction)
NameableComponent::nameEntity
MCAPI void nameEntity(::Actor &owner, ::Bedrock::Safety::RedactableString const &name)
Player
Definition
Player.h:119
src
mc
entity
components_json_legacy
NameableComponent.h
Generated on Fri Jun 13 2025 05:04:33 for LeviLamina by
1.12.0