GetMapContinents needs to be replaced

Issue #8 resolved
Kernighan Ritchie repo owner created an issue

The GetMapContinents() function was removed in 8.2.0 API and is also removed from Wow Classic. Need to update to use an alternative method.

Comments (8)

  1. Kernighan Ritchie reporter

    Fix #8 -- Replace GetMapContinents with internal function

    Use replacement function as described in LibTourist to fix the fact that GetMapContinents() was removed

    → <<cset a2c8b756e424>>

  2. Kernighan Ritchie reporter

    Date: 2019-09-08 13:10:29
    ID: 3
    Error occured in: Global
    Count: 1
    Message: Usage: local info = C_Map.GetMapChildrenInfo(uiMapID [, mapType, allDescendants])
    Debug:
    [C]: GetMapChildrenInfo()
    ...ace\AddOns\RecipeRadarClassic\RecipeRadarClassic.lua:808: RecipeRadar_GetMapContinents()
    ...ace\AddOns\RecipeRadarClassic\RecipeRadarClassic.lua:354: RecipeRadar_GetCurrentContinent()
    ...ace\AddOns\RecipeRadarClassic\RecipeRadarClassic.lua:297: RecipeRadar_NewRegion()
    ...ace\AddOns\RecipeRadarClassic\RecipeRadarClassic.lua:188: RecipeRadar_OnEvent()
    [string ":OnEvent"]:1:
    [string "
    :OnEvent"]:1
    Locals:
    (*temporary) = "Usage: local info = C_Map.GetMapChildrenInfo(uiMapID [, mapType, allDescendants])"

  3. Kernighan Ritchie reporter

    re #8 -- Need to replace GetMapZones as well, as it was also removed

    Allows options panel to work somewhat better, but it still needs more work

    → <<cset b39c57c11336>>

  4. Log in to comment