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
|
* @return the world areas
|
||||||
*/
|
*/
|
||||||
Area[] getMapAreas();
|
MapElementConfig[] getMapElementConfigs();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a sprite of the map scene
|
* Gets a sprite of the map scene
|
||||||
|
|||||||
@@ -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.
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user