Package net.runelite.cache.region
Class RegionLoader
- java.lang.Object
-
- net.runelite.cache.region.RegionLoader
-
public class RegionLoader extends Object
-
-
Constructor Summary
Constructors Constructor Description RegionLoader(Store store, KeyProvider keyProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcalculateBounds()RegionfindRegionForRegionCoordinates(int x, int y)RegionfindRegionForWorldCoordinates(int x, int y)RegiongetHighestX()RegiongetHighestY()RegiongetLowestX()RegiongetLowestY()Collection<Region>getRegions()RegionloadRegion(int id, MapDefinition map, LocationsDefinition locs)RegionloadRegionFromArchive(int i)voidloadRegions()
-
-
-
Constructor Detail
-
RegionLoader
public RegionLoader(Store store, KeyProvider keyProvider)
-
-
Method Detail
-
loadRegions
public void loadRegions() throws IOException- Throws:
IOException
-
loadRegionFromArchive
public Region loadRegionFromArchive(int i) throws IOException
- Throws:
IOException
-
loadRegion
public Region loadRegion(int id, MapDefinition map, LocationsDefinition locs)
-
calculateBounds
public void calculateBounds()
-
getRegions
public Collection<Region> getRegions()
-
findRegionForWorldCoordinates
public Region findRegionForWorldCoordinates(int x, int y)
-
findRegionForRegionCoordinates
public Region findRegionForRegionCoordinates(int x, int y)
-
getLowestX
public Region getLowestX()
-
getLowestY
public Region getLowestY()
-
getHighestX
public Region getHighestX()
-
getHighestY
public Region getHighestY()
-
-