# C_TaxiMap: 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_TaxiMap

## Functions

### C_TaxiMap.GetAllTaxiNodes

```lua
taxiNodes = C_TaxiMap.GetAllTaxiNodes(uiMapID)
```

Returns information on taxi nodes at the current flight master.

Arguments:
- `uiMapID`: number

Returns:
- `taxiNodes`: TaxiNodeInfo[]

### C_TaxiMap.GetTaxiNodesForMap

```lua
mapTaxiNodes = C_TaxiMap.GetTaxiNodesForMap(uiMapID)
```

Returns information on taxi nodes for a given map, without considering the current flight master.

Arguments:
- `uiMapID`: number

Returns:
- `mapTaxiNodes`: MapTaxiNodeInfo[]

### C_TaxiMap.ShouldMapShowTaxiNodes

```lua
shouldShowNodes = C_TaxiMap.ShouldMapShowTaxiNodes(uiMapID)
```

Arguments:
- `uiMapID`: number

Returns:
- `shouldShowNodes`: bool

## Events

### TAXI_NODE_STATUS_CHANGED

No payload.

### TAXIMAP_CLOSED

No payload.

### TAXIMAP_OPENED

Payload, after the event's name:
- `system`: number

## Tables

### Enum.FlightPathFaction (enumeration)

- `Neutral` = 0
- `Horde` = 1
- `Alliance` = 2

### Enum.FlightPathState (enumeration)

- `Current` = 0
- `Reachable` = 1
- `Unreachable` = 2

### MapTaxiNodeInfo (structure)

- `nodeID`: number
- `position`: vector2
- `name`: cstring
- `atlasName`: cstring
- `faction`: FlightPathFaction
- `textureKit`: textureKit
- `isUndiscovered`: bool

### TaxiNodeInfo (structure)

- `nodeID`: number
- `position`: vector2
- `name`: cstring
- `state`: FlightPathState
- `slotIndex`: luaIndex
- `textureKit`: textureKit
- `useSpecialIcon`: bool
- `specialIconCostString`: string, may be nil
- `isMapLayerTransition`: bool

---
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."
