WoW:API GetMapInfo: Difference between revisions

m
no edit summary
m (clear unnecessary dash)
mNo edit summary
Line 1: Line 1:
  {{wowapi}} __NOTOC__
  {{wowapi}} __NOTOC__


  mapFileName, textureHeight, textureWidth = GetMapInfo();
  mapFileName, textureHeight, textureWidth, isMicrodungeon, microDungeonMapName = GetMapInfo();


Return the map information about the current world map texture.
Return the map information about the current world map texture.
Line 17: Line 17:
:;textureHeight : Number - The height of the specified texture (0 if no texture)
:;textureHeight : Number - The height of the specified texture (0 if no texture)
:;textureWidth : Number - The width of the specified texture (0 if no texture) (<small>This is a guess, it's not used in the UI</small>)
:;textureWidth : Number - The width of the specified texture (0 if no texture) (<small>This is a guess, it's not used in the UI</small>)
:;isMicroDungeon : Boolean - True if the current map is a MicroDungeon, False otherwise.
:;microDungeonMapName : String - The name of the map for the current MicroDungeon, if applicable. (ex. ShrineofSevenStars)


----
----
Anonymous user