JackJack

JackJack

792 Downloads

Data streamlining/contextual data

fechan opened this issue ยท 3 comments

commented

Some info currently acquired from data mining could be acquired through the Lua API instead. Check API calls which could substitute for datasets.

If you can find a more efficient way to get taxi nodes and edges, might help with #29

commented

If we use this https://wowpedia.fandom.com/wiki/API_C_AreaPoiInfo.GetAreaPOIInfo we can use it to get name and description (I think it will also work cross-locale instead of just English too). Problem is we need to provide the POI's uiMapId, and to do that we still need the ContinentID and global coordinates.

Alternatively we can ditch storing AreaPOI altogether and loop through all the uiMapIds, then using C_AreaPoiInfo.GetAreaPOIForMap to get all POIs for that uiMapId. If we want stuff like area name, we use https://wowpedia.fandom.com/wiki/API_C_Map.GetMapInfo on the uiMapId

commented

You can also loop through all uiMapIds and get a list of taxi nodes https://wowpedia.fandom.com/wiki/API_C_TaxiMap.GetAllTaxiNodes

This also returns the faction as an enum even though the wiki doesn't say so. 2=Alliance, 1=Horde, 0=Neutral

EDIT: if we use taxi nodes/edges for the directions feature, we must keep this on parity with taxi edges!!!

commented

A bunch of map APIs expose info, including the "gossip POI info" from Orgrimmar Grunts (etc.)
https://wowpedia.fandom.com/wiki/API_C_WorldMap.GetMapLandmarkInfo#Details