Files
wow_Meta/api/GetMapNameByID.lua
2025-05-04 15:15:00 +02:00

8 lines
475 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@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