C_Minimap
namespaceavailable in: camelotStatus in wowlua
23 functions: 0 implemented, 1 recorded, 22 guessed. 4 events, 3 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
CanTrackBattlePets | Whether the player can track battle pets on the minimap. · by wowlua(): boolean | guessed |
ClearAllTracking | Turns off all minimap tracking. · by wowlua() | guessed |
ClearMinimapInsetInfo | Clears the minimap's inset settings. · by wowlua() | guessed |
GetDefaultTrackingValue | Whether a minimap tracking filter is on by default. · by wowlua(filterType: MinimapTrackingFilter): boolean | guessed |
GetDrawGroundTextures | Whether the minimap draws ground textures. · by wowlua(): boolean | guessed |
GetNumQuestPOIWorldEffects | Returns the number of quest world effects shown on the minimap. · by wowlua(): number | guessed |
GetNumTrackingTypes | Returns the number of minimap tracking types. · by wowlua(): number | guessed |
GetPOITextureCoords | Returns the texture coordinates of a minimap point of interest icon. · by wowlua(index: number?): (number, number, number, number) | guessed |
GetTrackingFilter | Returns the spell or filter behind a minimap tracking type. · by wowlua(spellIndex: number): MinimapScriptTrackingFilter | guessed |
GetTrackingInfo | Returns a minimap tracking type's name, icon and state. · by wowlua(spellIndex: number): MinimapScriptTrackingInfo? | guessed |
GetUiMapID | Returns the ID of the map the minimap shows. · by wowlua(): number? | guessed |
GetViewRadius | Returns the radius of the area the minimap shows, in yards. · by wowlua(): number | guessed |
IsFilteredOut | Whether a minimap tracking filter is turned off. · by wowlua(filterType: MinimapTrackingFilter): boolean | guessed |
IsInsideQuestBlob | Whether the player is inside a quest's area on the minimap. · by wowlua(questID: number): boolean | guessed |
IsRotateMinimapIgnored | Whether the minimap ignores the rotate minimap setting. · by wowlua(): boolean | guessed |
IsTrackingAccountCompletedQuests | Whether the minimap tracks quests the account has completed. · by wowlua(): boolean | guessed |
IsTrackingBattlePets | Whether the minimap tracks battle pets. · by wowlua(): boolean | guessed |
IsTrackingHiddenQuests | Whether the minimap tracks low-level and hidden quests. · by wowlua(): boolean | guessed |
SetDrawGroundTextures | Sets whether the minimap draws ground textures. · by wowlua(draw: boolean) | guessed |
SetIgnoreRotateMinimap | Sets whether the minimap ignores the rotate minimap setting. · by wowlua(ignore: boolean) | guessed |
SetMinimapInsetInfo | Sets the minimap's inset angles and scale. · by wowlua(minAngle: number, maxAngle: number, scalar: number) | guessed |
SetTracking | Turns a minimap tracking type on or off. · by wowlua(index: number, on: boolean) | guessed |
ShouldUseHybridMinimap | Whether the minimap should use the hybrid minimap. · by wowlua(): boolean | recorded |
"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 |
|---|---|---|
MINIMAP_PING | unitTarget: string, y: number, x: number | implemented |
MINIMAP_UPDATE_TRACKING | no payload | implemented |
MINIMAP_UPDATE_ZOOM | no payload | implemented |
PLAYER_INSIDE_QUEST_BLOB_STATE_CHANGED | questID: number, isInside: boolean | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("PLAYER_INSIDE_QUEST_BLOB_STATE_CHANGED").
Structures
MinimapScriptTrackingFilter· spellID?, filterID?MinimapScriptTrackingInfo· name, texture, active, type, subType, spellID?
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Minimap system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.