v0.13.8

C_NamePlateManager

namespaceavailable in: camelot

Status in wowlua

4 functions: 0 implemented, 1 recorded, 3 guessed. 7 events, 3 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
GetNamePlateHitTestInsetsReturns the values used to adjust the hit testing area for nameplates.
(type: NamePlateType): (number, number, number, number)
guessed
IsNamePlateUnitBehindCameraReturns whether the unit to which the nameplate is attached is behind the player's camera.
(unitToken: UnitTokenNamePlate): boolean
recorded
SetNamePlateHitTestInsetsProvide values to adjust the hit testing area for nameplates. Positive values will decrease the hit test area, negative values will increase it. Note that all hit testing is clamped to the bounds of the nameplate and can not be moved outside it.
(type: NamePlateType, left: number, right: number, top: number, bottom: number)
guessed
SetNamePlateSimplifiedSet whether the nameplate attached to a unit is considered simplified, which can change the way it's displayed.
(unitToken: UnitTokenNamePlate, isSimplified: boolean)
guessed

Events

eventpayloadfired by the emulator
FORBIDDEN_NAME_PLATE_CREATEDnamePlateFrame: NamePlateFramenot implemented
FORBIDDEN_NAME_PLATE_UNIT_ADDEDunitToken: stringnot implemented
FORBIDDEN_NAME_PLATE_UNIT_REMOVEDunitToken: stringnot implemented
NAME_PLATE_CREATEDnamePlateFrame: NamePlateFrameimplemented
NAME_PLATE_UNIT_ADDEDunitToken: stringimplemented
NAME_PLATE_UNIT_BEHIND_CAMERA_CHANGEDunitTarget: string, isBehindCamera: booleannot implemented
NAME_PLATE_UNIT_REMOVEDunitToken: stringimplemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("FORBIDDEN_NAME_PLATE_CREATED").

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (NamePlateManager system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗.