v0.13.8

C_NamePlate.GetNamePlateForUnit

functionimplementedavailable in: camelot

Returns the nameplate for a unit.

signaturewowlua
function C_NamePlate.GetNamePlateForUnit(    unitToken: UnitTokenNamePlate,    includeForbidden: boolean): NamePlateFrame

Parameters

nametypedescription
unitTokenUnitTokenNamePlate
includeForbiddenbooleanIf protected nameplates for friendly units while in instanced areas should be returned. Default: false.

Returns

nameplate · NamePlateFrame · Frame,NamePlateBaseMixin

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (NamePlate system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.