API C NamePlate.GetNamePlates

C_NamePlate provides two functions to return tables describing currently-visible name plates: { {nameplate1}, {nameplate2}, ... } = GetNamePlates(isSecure) {nameplate1} = GetNamePlateForUnit(unitId, isSecure)
 * GetNamePlates returns a table containing one subtable for each of nameplate1 to nameplateN; or an empty table if there are no visible nameplates.
 * GetNamePlateForUnit returns a table for a single unitId; or nil if the given unit has no visible nameplate.

Arguments

 * isSecure : Boolean
 * unitId : String - Unit described by its UnitId

Returns
Each nameplate, beginning with nameplate1 if it exists, is described by a struct.

Details

 * Despite each nameplate being a kind of extended by "BaseNamePlateUnitFrameTemplate", the tables returned by these functions are not the actual s.