C_VignetteInfo
namespaceavailable in: camelotStatus in wowlua
6 functions: 1 implemented, 0 recorded, 5 guessed. 2 events, 1 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
FindBestUniqueVignette | Returns which of the given vignettes is the best unique one to show. · by wowlua(vignetteGUIDs: string[]): number? | guessed |
GetHealthPercent | Returns the health percentage of a vignette's creature. · by wowlua(vignetteGUID: string): number? | guessed |
GetRecommendedGroupSize | Returns the recommended group size for a vignette. · by wowlua(vignetteGUID: string): (number?, number?) | guessed |
GetVignetteInfo | Returns vignette info.(vignetteGUID: string): VignetteInfo? | guessed |
GetVignettePosition | Returns a vignette's position on a map. · by wowlua(vignetteGUID: string, uiMapID: number): (Vector2DMixin?, number?) | guessed |
GetVignettes | Returns the GUIDs of the current vignettes. · by wowlua(): string[] | implemented |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
VIGNETTES_UPDATED | no payload | implemented |
VIGNETTE_MINIMAP_UPDATED | vignetteGUID: string, onMinimap: boolean | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("VIGNETTE_MINIMAP_UPDATED").
Structures
VignetteInfo· vignetteGUID, objectGUID, name, isDead, onWorldMap, zoneInfiniteAOI, onMinimap, isUnique, inFogOfWar, atlasName, hasTooltip, vignetteID, type, rewardQuestID, tooltipWidgetSet?, iconWidgetSet?, addPaddingAboveTooltipWidgets?, mapPin?, objectiveType?
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Vignette system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.