devtools
This commit is contained in:
@@ -165,11 +165,11 @@ public interface Actor extends Renderable, Locatable
|
||||
* @return the graphic of the actor
|
||||
* @see GraphicID
|
||||
*/
|
||||
int getSpotAnimation();
|
||||
int getGraphic();
|
||||
|
||||
void setSpotAnimation(int graphic);
|
||||
void setGraphic(int graphic);
|
||||
|
||||
void setSpotAnimationFrame(int spotAnimFrame);
|
||||
void setSpotAnimFrame(int spotAnimFrame);
|
||||
|
||||
/**
|
||||
* Gets the canvas area of the current tile the actor is standing on.
|
||||
|
||||
@@ -837,7 +837,7 @@ public interface Client extends GameShell
|
||||
* Gets the varbit composition for a given varbit id
|
||||
*/
|
||||
@Nullable
|
||||
VarbitDefinition getVarbitDefinition(int id);
|
||||
VarbitComposition getVarbitDefinition(int id);
|
||||
|
||||
/**
|
||||
* Gets the widget flags table.
|
||||
@@ -2080,4 +2080,10 @@ public interface Client extends GameShell
|
||||
void setOutdatedScript(String outdatedScript);
|
||||
|
||||
List<String> getOutdatedScripts();
|
||||
|
||||
void queueChangedVarp(int varp);
|
||||
|
||||
VarbitComposition getVarbit(Integer id);
|
||||
|
||||
Widget getWidget(int param1);
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ package net.runelite.api;
|
||||
* <p>
|
||||
* These values are intended for use with the local players equipment
|
||||
* {@link ItemContainer} corresponding. For obtaining information about equipment
|
||||
* in the {@link PlayerAppearance}, use {@link net.runelite.api.kit.KitType}.
|
||||
* in the {@link PlayerComposition}, use {@link net.runelite.api.kit.KitType}.
|
||||
*
|
||||
* @see Client#getItemContainer(InventoryID)
|
||||
* @see InventoryID#EQUIPMENT
|
||||
|
||||
@@ -27,7 +27,7 @@ package net.runelite.api;
|
||||
/**
|
||||
* Represents a pile of items held by a tile.
|
||||
*/
|
||||
public interface TileItemPile extends TileObject
|
||||
public interface ItemLayer extends TileObject
|
||||
{
|
||||
/**
|
||||
* Gets the height of the layer.
|
||||
@@ -43,7 +43,7 @@ public interface Player extends Actor
|
||||
* @return the composition
|
||||
*/
|
||||
@Nullable
|
||||
PlayerAppearance getPlayerAppearance();
|
||||
PlayerComposition getPlayerComposition();
|
||||
|
||||
/**
|
||||
* Gets the polygons that make up the players model.
|
||||
|
||||
@@ -29,7 +29,7 @@ import net.runelite.api.kit.KitType;
|
||||
/**
|
||||
* Represents the template of a player.
|
||||
*/
|
||||
public interface PlayerAppearance
|
||||
public interface PlayerComposition
|
||||
{
|
||||
/**
|
||||
* Checks if the player is female.
|
||||
@@ -50,7 +50,7 @@ public interface Tile extends TileObject
|
||||
*
|
||||
* @return the item
|
||||
*/
|
||||
TileItemPile getItemLayer();
|
||||
ItemLayer getItemLayer();
|
||||
|
||||
/**
|
||||
* Gets the object on the ground layer of the tile.
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
package net.runelite.api;
|
||||
|
||||
/**
|
||||
* Represents an item inside an {@link TileItemPile}.
|
||||
* Represents an item inside an {@link ItemLayer}.
|
||||
*/
|
||||
public interface TileItem extends Renderable
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
*/
|
||||
package net.runelite.api;
|
||||
|
||||
public interface VarbitDefinition
|
||||
public interface VarbitComposition
|
||||
{
|
||||
/**
|
||||
* The varp index for this varbit
|
||||
@@ -2,9 +2,10 @@ package net.runelite.api.events;
|
||||
|
||||
import lombok.Value;
|
||||
import net.runelite.api.Player;
|
||||
import net.runelite.api.PlayerComposition;
|
||||
|
||||
/**
|
||||
* This will fire whenever the {@link net.runelite.api.PlayerAppearance} hash changes.
|
||||
* This will fire whenever the {@link PlayerComposition} hash changes.
|
||||
*/
|
||||
@Value
|
||||
public class PlayerChanged implements Event
|
||||
|
||||
@@ -7,7 +7,7 @@ import net.runelite.api.Actor;
|
||||
* An event where the graphic of an {@link Actor} has changed.
|
||||
* <p>
|
||||
* The graphic the player has changed to can be obtained using
|
||||
* {@link Actor#getSpotAnimation()}.
|
||||
* {@link Actor#getGraphic()}.
|
||||
* <p>
|
||||
* Examples of when this event may trigger include:
|
||||
* <ul>
|
||||
|
||||
@@ -1020,4 +1020,9 @@ public interface Widget
|
||||
boolean isWidgetItemDragged(int index);
|
||||
|
||||
Point getWidgetItemDragOffsets();
|
||||
|
||||
static boolean getDragParent(Widget widget)
|
||||
{
|
||||
throw new UnsupportedOperationException("Implement");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user