npcOverlayService

Methods
3
Fields
None

Getting one

npcOverlayService

Methods

MethodReturnsDescription
registerHighlighter((NPC) -> HighlightedNpc?)()Add a highlighter and rebuild the highlighted NPCs.
unregisterHighlighter((NPC) -> HighlightedNpc?)()Remove a highlighter (the same function) and rebuild.
rebuild()()Ask every highlighter again about every NPC in the scene (after a config change).

Method details

rebuild

rebuild: (NpcOverlayService) -> ()

Ask every highlighter again about every NPC in the scene (after a config change).