Getting the "old" mapID / parent of Area
hi all!
i am currently looking for a way to get the "old" mapID.
for example, i am looking to get the id for Durotar which would be 14
as with patch 8.0.1 the ids as well as the api fuctions changed, the id of durotar will be 1411
but wait,
here is what i got.
C_Map.GetMapInfo will return 1411 (while somewhere in Durotar)
C_MapExplorationInfo.GetExploredAreaIDsAtPosition will return 363 (ValleyofTrials in this example)
if i take a look at the dbc AreaTable,
ID 363 (ValleyofTrials) has a Parent of 6451 (ValleyofTrialsStart)
which in return
ID 6451 has a parent of 14 (Durotar) <- this is the value i am looking for
so my question is, how are the functions related?
for one, 1411 which is returned from GetMapInfo is not a parent of the example area
second, how do i get the parent(s) of an areaid?
i have tried so far:
MapUtil.GetMapParentInfo(currentMapId, Enum.UIMapType.Zone, TOP_MOST) -> will return 1411 aswell
thanks
|