wowpedia
Main Menu


Returns the nameplate for a unit.

nameplate = C_NamePlate.GetNamePlateForUnit(unitId [, isSecure])

Arguments

unitId
string : UnitId
isSecure
boolean? - If protected nameplates for friendly units while in instanced areas should be returned.

Returns

nameplate
Nameplate? - Inherits from Frame and NamePlateBaseMixin.
Field Type Description
OnAdded function
OnRemoved function
OnOptionsUpdated function
ApplyOffsets function
GetAdditionalInsetPadding function
GetPreferredInsets function
OnSizeChanged function
driverFrame NamePlateDriverFrame?
UnitFrame Button?
namePlateUnitToken string? e.g. "nameplate1"
template string e.g. "NamePlateUnitFrameTemplate"