C_NamePlate .GetNamePlateForUnit
Jump to navigation
Jump to search
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
- NameplateBase? : Frame|NamePlateBaseMixin
Field | Type | Description |
---|---|---|
UnitFrame | Button | |
driverFrame | NamePlateDriverFrame | points to NamePlateDriverFrame (NamePlateDriverMixin) |
namePlateUnitToken | string | e.g. "nameplate1"
|
template | string | e.g. "NamePlateUnitFrameTemplate"
|
NamePlateBaseMixin | ||
OnAdded | function | |
OnRemoved | function | |
OnOptionsUpdated | function | |
ApplyOffsets | function | |
GetAdditionalInsetPadding | function | |
GetPreferredInsets | function | |
OnSizeChanged | function |