# C_Minimap: World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/C_Minimap

## Functions

### C_Minimap.CanTrackBattlePets

```lua
CanTrackBattlePets = C_Minimap.CanTrackBattlePets()
```

Returns:
- `CanTrackBattlePets`: bool

### C_Minimap.ClearAllTracking

```lua
C_Minimap.ClearAllTracking()
```

### C_Minimap.ClearMinimapInsetInfo

```lua
C_Minimap.ClearMinimapInsetInfo()
```

### C_Minimap.GetDefaultTrackingValue

```lua
defaultValue = C_Minimap.GetDefaultTrackingValue(filterType)
```

Arguments:
- `filterType`: MinimapTrackingFilter

Returns:
- `defaultValue`: bool

### C_Minimap.GetDrawGroundTextures

```lua
draw = C_Minimap.GetDrawGroundTextures()
```

Returns:
- `draw`: bool

### C_Minimap.GetNumQuestPOIWorldEffects

```lua
worldEffectCount = C_Minimap.GetNumQuestPOIWorldEffects()
```

Returns:
- `worldEffectCount`: number

### C_Minimap.GetNumTrackingTypes

```lua
numTrackingTypes = C_Minimap.GetNumTrackingTypes()
```

Returns:
- `numTrackingTypes`: number

### C_Minimap.GetPOITextureCoords

```lua
textureCoordsX, textureCoordsY, textureCoordsZ, textureCoordsW = C_Minimap.GetPOITextureCoords([index])
```

Arguments:
- `index`: number, may be nil

Returns:
- `textureCoordsX`: number
- `textureCoordsY`: number
- `textureCoordsZ`: number
- `textureCoordsW`: number

### C_Minimap.GetTrackingFilter

```lua
trackingType = C_Minimap.GetTrackingFilter(spellIndex)
```

Arguments:
- `spellIndex`: luaIndex

Returns:
- `trackingType`: MinimapScriptTrackingFilter

### C_Minimap.GetTrackingInfo

```lua
trackingInfo = C_Minimap.GetTrackingInfo(spellIndex)
```

Arguments:
- `spellIndex`: luaIndex

Returns:
- `trackingInfo`: MinimapScriptTrackingInfo, may be nil

### C_Minimap.GetUiMapID

```lua
uiMapID = C_Minimap.GetUiMapID()
```

Returns:
- `uiMapID`: number, may be nil

### C_Minimap.GetViewRadius

```lua
yards = C_Minimap.GetViewRadius()
```

Returns:
- `yards`: number

### C_Minimap.IsFilteredOut

```lua
isFiltered = C_Minimap.IsFilteredOut(filterType)
```

Arguments:
- `filterType`: MinimapTrackingFilter

Returns:
- `isFiltered`: bool

### C_Minimap.IsInsideQuestBlob

```lua
isInside = C_Minimap.IsInsideQuestBlob(questID)
```

Arguments:
- `questID`: number

Returns:
- `isInside`: bool

### C_Minimap.IsRotateMinimapIgnored

```lua
isIgnored = C_Minimap.IsRotateMinimapIgnored()
```

Returns:
- `isIgnored`: bool

### C_Minimap.IsTrackingAccountCompletedQuests

```lua
IsTrackingAccountCompletedQuests = C_Minimap.IsTrackingAccountCompletedQuests()
```

Returns:
- `IsTrackingAccountCompletedQuests`: bool

### C_Minimap.IsTrackingBattlePets

```lua
isTrackingBattlePets = C_Minimap.IsTrackingBattlePets()
```

Returns:
- `isTrackingBattlePets`: bool

### C_Minimap.IsTrackingHiddenQuests

```lua
isTrackingHiddenQuests = C_Minimap.IsTrackingHiddenQuests()
```

Returns:
- `isTrackingHiddenQuests`: bool

### C_Minimap.SetDrawGroundTextures

```lua
C_Minimap.SetDrawGroundTextures(draw)
```

Arguments:
- `draw`: bool

### C_Minimap.SetIgnoreRotateMinimap

```lua
C_Minimap.SetIgnoreRotateMinimap(ignore)
```

Arguments:
- `ignore`: bool

### C_Minimap.SetMinimapInsetInfo

```lua
C_Minimap.SetMinimapInsetInfo(minAngle, maxAngle, scalar)
```

Arguments:
- `minAngle`: number
- `maxAngle`: number
- `scalar`: number

### C_Minimap.SetTracking

```lua
C_Minimap.SetTracking(index, on)
```

Arguments:
- `index`: luaIndex
- `on`: bool

### C_Minimap.ShouldUseHybridMinimap

```lua
shouldUse = C_Minimap.ShouldUseHybridMinimap()
```

Returns:
- `shouldUse`: bool

## Events

### MINIMAP_PING

Payload, after the event's name:
- `unitTarget`: UnitTokenVariant
- `y`: number
- `x`: number

### MINIMAP_UPDATE_TRACKING

No payload.

### MINIMAP_UPDATE_ZOOM

No payload.

### PLAYER_INSIDE_QUEST_BLOB_STATE_CHANGED

Payload, after the event's name:
- `questID`: number
- `isInside`: bool

## Tables

### MinimapScriptTrackingFilter (structure)

- `spellID`: number, may be nil
- `filterID`: MinimapTrackingFilter, may be nil

### MinimapScriptTrackingInfo (structure)

- `name`: cstring
- `texture`: fileID
- `active`: bool
- `type`: cstring
- `subType`: number
- `spellID`: number, may be nil

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
