![]() |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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"
|
