You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
taxi: GetTaxiNodesForMap() with no arg returns all continents
Previously no-arg meant the currently-viewed continent; make it return
every flight master on every continent instead -- a one-call flight DB.
A numeric mapID still filters to that continent. Each entry already
carries its own mapID, and the mount + TaxiPath-endpoint filters apply
uniformly. Verified: no-arg 97, GetTaxiNodesForMap(0) 48.
@@ -10001,16 +10001,18 @@ Ship both because they answer different questions:
10001
10001
10002
10002
| function | source | use |
10003
10003
|---|---|---|
10004
-
|`C_TaxiMap.GetTaxiNodesForMap(mapID)`|`TaxiNodes.dbc` (static) | every flight point on a continent, faction-tagged, discovered or not — for a database / map overlay |
10004
+
|`C_TaxiMap.GetTaxiNodesForMap([mapID])`|`TaxiNodes.dbc` (static) | every flight point (one continent, or all with no arg), faction-tagged, discovered or not — for a database / map overlay |
10005
10005
|`C_TaxiMap.GetAllTaxiNodes([uiMapID])`| live taxi session | the nodes reachable from the **open** flight master, with per-node state + the slot index to fly — for a flight-map UI |
10006
10006
10007
-
### `C_TaxiMap.GetTaxiNodesForMap(mapID)`
10007
+
### `C_TaxiMap.GetTaxiNodesForMap([mapID])`
10008
10008
10009
-
Returns an array of every `TaxiNodes.dbc` flight point on continent
10010
-
`mapID` (a `Map.dbc` id — `0` Eastern Kingdoms, `1` Kalimdor, `30`
10011
-
Alterac Valley, … — the same identity `C_Map.GetAreaTriggers([mapID])`
10012
-
uses; retail's `uiMapID` has no vanilla analog). Omit / non-number →
10013
-
the currently viewed continent.
10009
+
Returns an array of flight masters. A numeric `mapID` (a `Map.dbc` id —
10010
+
`0` Eastern Kingdoms, `1` Kalimdor, `30` Alterac Valley, … — the same
10011
+
identity `C_Map.GetAreaTriggers([mapID])` uses; retail's `uiMapID` has no
10012
+
vanilla analog) filters to that continent. **Omitted / non-number returns
10013
+
every flight master on every continent** — a one-call flight database
10014
+
(each entry carries its own `mapID`). This is a ClassicAPI extension to
10015
+
retail's required-argument signature.
10014
10016
10015
10017
Only real flight masters are returned. `TaxiNodes.dbc` also contains
10016
10018
non-flight rows — transports/boats/zeppelins (no flight mount) and
0 commit comments