Files
wow-weakauras/Meta/api/GetMapNameByID.lua
2024-11-07 23:12:37 +01:00

6 lines
472 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param id number
---@return string mapname
---Returns the localized name of a given map. Map IDs can be obtained using GetCurrentMapAreaID(). Note that you cannot obtain names of multiple floors of a map using this function. Oddly enough, these are stored in global variables, as follows: local floorName = _G["DUNGEON_FLOOR_" .. strupper(GetMapInfo() or "") .. floorNum]
function GetMapNameByID(id) end