Merge pull request #7524 from Abextm/map-refactor-external
runelite-api, runescape-api: Rename Area to MapElementConfig
This commit is contained in:
@@ -848,7 +848,7 @@ public interface Client extends GameEngine
|
||||
*
|
||||
* @return the world areas
|
||||
*/
|
||||
Area[] getMapAreas();
|
||||
MapElementConfig[] getMapElementConfigs();
|
||||
|
||||
/**
|
||||
* Gets a sprite of the map scene
|
||||
|
||||
@@ -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.
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user