This commit is contained in:
2024-11-07 23:12:37 +01:00
parent a67a1d8f40
commit f7c91862a0
3089 changed files with 18209 additions and 0 deletions

9
Meta/api/GetMapInfo.lua Normal file
View File

@@ -0,0 +1,9 @@
---@diagnostic disable: missing-return, lowercase-global
---@return string mapFileName
---@return number textureHeight
---@return string textureWidth
---@return boolean isMicroDungeon
---@return string microDungeonMapName
---Returns information about the current world map texture. World map images are broken into several tiles; the full texture paths follow the format "Interface\\WorldMap\\"..mapFileName.."\\"..mapFileName..i, where i is a number between 1 and 12 (or in a zone with multiple area images, "Interface\\WorldMap\\"..mapFileName.."\\"..mapFileName..dungeonLevel.."_"..i, where dungeonLevel is a number between 1 and GetNumDungeonMapLevels()). World map images are 4 tiles wide and 3 tiles high.
function GetMapInfo() end