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
*/
Area[] getMapAreas();
MapElementConfig[] getMapElementConfigs();
/**
* Gets a sprite of the map scene

View File

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

View File

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

View File

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