This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import lombok.experimental.UtilityClass; | |
| import lombok.extern.log4j.Log4j; | |
| import org.apache.commons.io.FileUtils; | |
| import org.springframework.util.ResourceUtils; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| import java.util.jar.JarFile; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function TopHop.ScanMapStruct(arg) | |
| local currentMapID = C_Map.GetBestMapForUnit(arg); | |
| local mapTable = {} | |
| if(currentMapID) then | |
| local currentMapDetails = C_Map.GetMapInfo(currentMapID) | |
| if(currentMapDetails) then | |
| local currentMapType = currentMapDetails.mapType | |
| local iteratingParentMapId = currentMapID | |
| for i = currentMapType, 1, -1 do | |
| local tempDetails = C_Map.GetMapInfo(iteratingParentMapId) |