Merge pull request #7524 from Abextm/map-refactor-external

runelite-api, runescape-api: Rename Area to MapElementConfig
This commit is contained in:
Adam
2019-01-23 21:03:27 -05:00
committed by GitHub
4 changed files with 6 additions and 6 deletions

View File

@@ -848,7 +848,7 @@ public interface Client extends GameEngine
* *
* @return the world areas * @return the world areas
*/ */
Area[] getMapAreas(); MapElementConfig[] getMapElementConfigs();
/** /**
* Gets a sprite of the map scene * Gets a sprite of the map scene

View File

@@ -27,7 +27,7 @@ package net.runelite.api;
/** /**
* Represents an area in the world. * Represents an area in the world.
*/ */
public interface Area public interface MapElementConfig
{ {
/** /**
* Gets the sprite icon to display on the world map. * Gets the sprite icon to display on the world map.

View File

@@ -497,9 +497,9 @@ public interface RSClient extends RSGameEngine, Client
@Import("widgetRoot") @Import("widgetRoot")
int getWidgetRoot(); int getWidgetRoot();
@Import("mapAreaType") @Import("mapElementConfigs")
@Override @Override
RSArea[] getMapAreas(); RSMapElementConfig[] getMapElementConfigs();
@Import("mapscene") @Import("mapscene")
@Override @Override

View File

@@ -24,10 +24,10 @@
*/ */
package net.runelite.rs.api; package net.runelite.rs.api;
import net.runelite.api.Area; import net.runelite.api.MapElementConfig;
import net.runelite.mapping.Import; import net.runelite.mapping.Import;
public interface RSArea extends RSCacheableNode, Area public interface RSMapElementConfig extends RSCacheableNode, MapElementConfig
{ {
@Import("getMapIcon") @Import("getMapIcon")
@Override @Override