Files
wow_Meta/C_Map.lua

136 lines
3.4 KiB
Lua

---@meta
---
--- C_Map is a namespace for functions related to the world map and navigation.
---
--- @class C_Map
C_Map = {
--- @return number
--- Returns the best map for the player's current location.
GetBestMapForUnit = function() end,
--- @param uiMapID number
--- @return table
--- Returns information about a map.
GetMapInfo = function(uiMapID) end,
--- @param uiMapID number
--- @return table
--- Returns the map art ID for a map.
GetMapArtID = function(uiMapID) end,
--- @param uiMapID number
--- @return table
--- Returns the map art background ID for a map.
GetMapArtBackgroundID = function(uiMapID) end,
--- @param uiMapID number
--- @return table
--- Returns the map art layers for a map.
GetMapArtLayers = function(uiMapID) end,
--- @param uiMapID number
--- @return table
--- Returns the map art style for a map.
GetMapArtStyle = function(uiMapID) end,
--- @param uiMapID number
--- @return table
--- Returns the map art tiles for a map.
GetMapArtTiles = function(uiMapID) end,
--- @param uiMapID number
--- @return table
--- Returns the map children for a map.
GetMapChildrenInfo = function(uiMapID) end,
--- @param uiMapID number
--- @return table
--- Returns the map flags for a map.
GetMapFlags = function(uiMapID) end,
--- @param uiMapID number
--- @return table
--- Returns the map group ID for a map.
GetMapGroupID = function(uiMapID) end,
--- @param uiMapID number
--- @return table
--- Returns the map link info for a map.
GetMapLinkInfo = function(uiMapID) end,
--- @param uiMapID number
--- @return table
--- Returns the map parent info for a map.
GetMapParentInfo = function(uiMapID) end,
--- @param uiMapID number
--- @return table
--- Returns the map rect for a map.
GetMapRect = function(uiMapID) end,
--- @param uiMapID number
--- @return table
--- Returns the map type for a map.
GetMapType = function(uiMapID) end,
--- @param uiMapID number
--- @return table
--- Returns the map zones for a map.
GetMapZones = function(uiMapID) end,
--- @param uiMapID number
--- @return boolean
--- Returns whether a map is valid.
IsMapValidForNavigation = function(uiMapID) end,
--- @param uiMapID number
--- @return boolean
--- Returns whether a map is a dungeon map.
IsDungeonMap = function(uiMapID) end,
--- @param uiMapID number
--- @return boolean
--- Returns whether a map is a raid map.
IsRaidMap = function(uiMapID) end,
--- @param uiMapID number
--- @return boolean
--- Returns whether a map is a battleground map.
IsBattlegroundMap = function(uiMapID) end,
--- @param uiMapID number
--- @return boolean
--- Returns whether a map is an arena map.
IsArenaMap = function(uiMapID) end,
--- @param uiMapID number
--- @return boolean
--- Returns whether a map is a world map.
IsWorldMap = function(uiMapID) end,
--- @param uiMapID number
--- @return boolean
--- Returns whether a map is a continent map.
IsContinentMap = function(uiMapID) end,
--- @param uiMapID number
--- @return boolean
--- Returns whether a map is a zone map.
IsZoneMap = function(uiMapID) end,
--- @param uiMapID number
--- @return boolean
--- Returns whether a map is a micro dungeon map.
IsMicroDungeonMap = function(uiMapID) end,
--- @param uiMapID number
--- @return boolean
--- Returns whether a map is an orphan map.
IsOrphanMap = function(uiMapID) end,
--- @param uiMapID number
--- @return boolean
--- Returns whether a map is a cosmic map.
IsCosmicMap = function(uiMapID) end,
}