Add @Imports, by hand, untested
This commit is contained in:
@@ -1,24 +1,36 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Actor extends Renderable
|
public interface Actor extends Renderable
|
||||||
{
|
{
|
||||||
|
@Import("interacting")
|
||||||
int getInteracting();
|
int getInteracting();
|
||||||
|
|
||||||
|
@Import("interactingObjects")
|
||||||
int getInteractingObjects();
|
int getInteractingObjects();
|
||||||
|
|
||||||
|
@Import("inSequence")
|
||||||
boolean inSequence();
|
boolean inSequence();
|
||||||
|
|
||||||
|
@Import("overhead")
|
||||||
String getOverhead();
|
String getOverhead();
|
||||||
|
|
||||||
|
@Import("loopCycle")
|
||||||
int getLoopCycle();
|
int getLoopCycle();
|
||||||
|
|
||||||
|
@Import("health")
|
||||||
int getHealth();
|
int getHealth();
|
||||||
|
|
||||||
|
@Import("maxHealth")
|
||||||
int getMaxHealth();
|
int getMaxHealth();
|
||||||
|
|
||||||
|
@Import("x")
|
||||||
int getX();
|
int getX();
|
||||||
|
|
||||||
|
@Import("y")
|
||||||
int getY();
|
int getY();
|
||||||
|
|
||||||
|
@Import("animation")
|
||||||
int getAnimation();
|
int getAnimation();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Buffer
|
public interface Buffer
|
||||||
{
|
{
|
||||||
|
@Import("payload")
|
||||||
byte[] getPayload();
|
byte[] getPayload();
|
||||||
|
|
||||||
|
@Import("offset")
|
||||||
int getOffset();
|
int getOffset();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface CacheableNode
|
public interface CacheableNode
|
||||||
{
|
{
|
||||||
|
@Import("next")
|
||||||
CacheableNode getNext();
|
CacheableNode getNext();
|
||||||
|
|
||||||
|
@Import("previous")
|
||||||
CacheableNode getPrevious();
|
CacheableNode getPrevious();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,12 +2,16 @@ package net.runelite.rs.api;
|
|||||||
|
|
||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface ClassInfo
|
public interface ClassInfo
|
||||||
{
|
{
|
||||||
|
@Import("methods")
|
||||||
Method getMethods();
|
Method getMethods();
|
||||||
|
|
||||||
|
@Import("fields")
|
||||||
Field getFields();
|
Field getFields();
|
||||||
|
|
||||||
|
@Import("args")
|
||||||
byte[][][] getArgs();
|
byte[][][] getArgs();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,110 +1,161 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Client extends GameEngine
|
public interface Client extends GameEngine
|
||||||
{
|
{
|
||||||
|
@Import("cameraX")
|
||||||
int getCameraX();
|
int getCameraX();
|
||||||
|
|
||||||
|
@Import("cameraY")
|
||||||
int getCameraY();
|
int getCameraY();
|
||||||
|
|
||||||
|
@Import("cameraZ")
|
||||||
int getCameraZ();
|
int getCameraZ();
|
||||||
|
|
||||||
|
@Import("plane")
|
||||||
int getPlane();
|
int getPlane();
|
||||||
|
|
||||||
|
@Import("cameraPitch")
|
||||||
int getCameraPitch();
|
int getCameraPitch();
|
||||||
|
|
||||||
|
@Import("cameraYaw")
|
||||||
int getCameraYaw();
|
int getCameraYaw();
|
||||||
|
|
||||||
|
@Import("world")
|
||||||
int getWorld();
|
int getWorld();
|
||||||
|
|
||||||
|
@Import("FPS")
|
||||||
int getFPS();
|
int getFPS();
|
||||||
|
|
||||||
|
@Import("mapScale")
|
||||||
int getMapScale();
|
int getMapScale();
|
||||||
|
|
||||||
|
@Import("mapAngle")
|
||||||
int getMapAngle();
|
int getMapAngle();
|
||||||
|
|
||||||
|
@Import("tileHeights")
|
||||||
int[][][] getTileHeights();
|
int[][][] getTileHeights();
|
||||||
|
|
||||||
|
@Import("tileSettings")
|
||||||
byte[][][] getTileSettings();
|
byte[][][] getTileSettings();
|
||||||
|
|
||||||
|
@Import("settings")
|
||||||
int[] getSettings();
|
int[] getSettings();
|
||||||
|
|
||||||
|
@Import("widgetSettings")
|
||||||
int[] getWidgetSettings();
|
int[] getWidgetSettings();
|
||||||
|
|
||||||
|
@Import("energy")
|
||||||
int getEnergy();
|
int getEnergy();
|
||||||
|
|
||||||
|
@Import("weight")
|
||||||
int getWeight();
|
int getWeight();
|
||||||
|
|
||||||
|
@Import("baseX")
|
||||||
int getBaseX();
|
int getBaseX();
|
||||||
|
|
||||||
|
@Import("baseY")
|
||||||
int getBaseY();
|
int getBaseY();
|
||||||
|
|
||||||
|
@Import("boostedSkillLevels")
|
||||||
int[] getBoostedSkillLevels();
|
int[] getBoostedSkillLevels();
|
||||||
|
|
||||||
|
@Import("realSkillLevels")
|
||||||
int[] getRealSkillLevels();
|
int[] getRealSkillLevels();
|
||||||
|
|
||||||
|
@Import("skillExperience")
|
||||||
int[] getSkillExperiences();
|
int[] getSkillExperiences();
|
||||||
|
|
||||||
|
@Import("gameState")
|
||||||
int getGameState();
|
int getGameState();
|
||||||
|
|
||||||
|
@Import("widgets")
|
||||||
Widget[][] getWidgets();
|
Widget[][] getWidgets();
|
||||||
|
|
||||||
|
@Import("region")
|
||||||
Region getRegion();
|
Region getRegion();
|
||||||
|
|
||||||
|
@Import("localPlayer")
|
||||||
Player getLocalPlayer();
|
Player getLocalPlayer();
|
||||||
|
|
||||||
|
@Import("cachedNPCs")
|
||||||
NPC[] getCachedNPCs();
|
NPC[] getCachedNPCs();
|
||||||
|
|
||||||
|
@Import("collionMaps")
|
||||||
CollisionData[] getCollisionMaps();
|
CollisionData[] getCollisionMaps();
|
||||||
|
|
||||||
|
@Import("cachedPlayers")
|
||||||
Player[] getCachedPlayers();
|
Player[] getCachedPlayers();
|
||||||
|
|
||||||
|
@Import("groundItemDeque")
|
||||||
Deque[][][] getGroundItemDeque();
|
Deque[][][] getGroundItemDeque();
|
||||||
|
|
||||||
|
@Import("username")
|
||||||
String getUsername();
|
String getUsername();
|
||||||
|
|
||||||
|
@Import("menuACtions")
|
||||||
String[] getMenuActions();
|
String[] getMenuActions();
|
||||||
|
|
||||||
|
@Import("menuOptions")
|
||||||
String[] getMenuOptions();
|
String[] getMenuOptions();
|
||||||
|
|
||||||
|
@Import("friends")
|
||||||
Friend[] getFriends();
|
Friend[] getFriends();
|
||||||
|
|
||||||
|
@Import("ignores")
|
||||||
Ignore[] getIgnores();
|
Ignore[] getIgnores();
|
||||||
|
|
||||||
|
@Import("worldList")
|
||||||
World[] getWorldList();
|
World[] getWorldList();
|
||||||
|
|
||||||
|
@Import("rootInterface")
|
||||||
int getRootInterface();
|
int getRootInterface();
|
||||||
|
|
||||||
void setUsername(String var1);
|
//void setUsername(String var1);
|
||||||
|
|
||||||
void sendGameMessage(int var1, String var2, String var3, int var4);
|
//void sendGameMessage(int var1, String var2, String var3, int var4);
|
||||||
|
|
||||||
void hopToWorld(String var1, int var2, int var3);
|
//void hopToWorld(String var1, int var2, int var3);
|
||||||
|
|
||||||
|
@Import("objectDefinition")
|
||||||
ObjectComposition getObjectDefinition(int var1);
|
ObjectComposition getObjectDefinition(int var1);
|
||||||
|
|
||||||
void setScale(int var1);
|
//void setScale(int var1);
|
||||||
|
|
||||||
|
@Import("scale")
|
||||||
int getScale();
|
int getScale();
|
||||||
|
|
||||||
|
@Import("camera2")
|
||||||
int getCamera2();
|
int getCamera2();
|
||||||
|
|
||||||
|
@Import("camera3")
|
||||||
int getCamera3();
|
int getCamera3();
|
||||||
|
|
||||||
|
@Import("validInterfaces")
|
||||||
boolean[] getValidInterfaces();
|
boolean[] getValidInterfaces();
|
||||||
|
|
||||||
|
@Import("resized")
|
||||||
boolean isResized();
|
boolean isResized();
|
||||||
|
|
||||||
|
@Import("widgetPositionX")
|
||||||
int[] getWidgetPositionsX();
|
int[] getWidgetPositionsX();
|
||||||
|
|
||||||
|
@Import("widgetPositionY")
|
||||||
int[] getWidgetPositionsY();
|
int[] getWidgetPositionsY();
|
||||||
|
|
||||||
|
@Import("itemContainers")
|
||||||
XHashTable getItemContainers();
|
XHashTable getItemContainers();
|
||||||
|
|
||||||
|
@Import("componentTable")
|
||||||
XHashTable getComponentTable();
|
XHashTable getComponentTable();
|
||||||
|
|
||||||
|
@Import("grandExchangeOffers")
|
||||||
XGrandExchangeOffer[] getGrandExchangeOffers();
|
XGrandExchangeOffer[] getGrandExchangeOffers();
|
||||||
|
|
||||||
|
@Import("activeInterface")
|
||||||
Widget getActiveInterface();
|
Widget getActiveInterface();
|
||||||
|
|
||||||
|
@Import("clanMembers")
|
||||||
XClanMember[] getClanMembers();
|
XClanMember[] getClanMembers();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface CollisionData
|
public interface CollisionData
|
||||||
{
|
{
|
||||||
|
@Import("flags")
|
||||||
int[][] getFlags();
|
int[][] getFlags();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Deque
|
public interface Deque
|
||||||
{
|
{
|
||||||
|
@Import("current")
|
||||||
Node getCurrent();
|
Node getCurrent();
|
||||||
|
|
||||||
|
@Import("head")
|
||||||
Node getHead();
|
Node getHead();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +1,16 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
import java.io.RandomAccessFile;
|
import java.io.RandomAccessFile;
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface FileOnDisk
|
public interface FileOnDisk
|
||||||
{
|
{
|
||||||
|
@Import("file")
|
||||||
RandomAccessFile getFile();
|
RandomAccessFile getFile();
|
||||||
|
|
||||||
|
@Import("position")
|
||||||
long getPosition();
|
long getPosition();
|
||||||
|
|
||||||
|
@Import("length")
|
||||||
long getLength();
|
long getLength();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,15 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Friend
|
public interface Friend
|
||||||
{
|
{
|
||||||
|
@Import("name")
|
||||||
String getName();
|
String getName();
|
||||||
|
|
||||||
|
@Import("previousName")
|
||||||
String getPreviousName();
|
String getPreviousName();
|
||||||
|
|
||||||
|
@Import("world")
|
||||||
int getWorld();
|
int getWorld();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,28 +1,42 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface GameObject
|
public interface GameObject
|
||||||
{
|
{
|
||||||
|
@Import("renderable")
|
||||||
Renderable getRenderable();
|
Renderable getRenderable();
|
||||||
|
|
||||||
|
@Import("plane")
|
||||||
int getPlane();
|
int getPlane();
|
||||||
|
|
||||||
|
@Import("relativeX")
|
||||||
int getRelativeX();
|
int getRelativeX();
|
||||||
|
|
||||||
|
@Import("relativeY")
|
||||||
int getRelativeY();
|
int getRelativeY();
|
||||||
|
|
||||||
|
@Import("offsetX")
|
||||||
int getOffsetX();
|
int getOffsetX();
|
||||||
|
|
||||||
|
@Import("offsetY")
|
||||||
int getOffsetY();
|
int getOffsetY();
|
||||||
|
|
||||||
|
@Import("x")
|
||||||
int getX();
|
int getX();
|
||||||
|
|
||||||
|
@Import("y")
|
||||||
int getY();
|
int getY();
|
||||||
|
|
||||||
|
@Import("height")
|
||||||
int getHeight();
|
int getHeight();
|
||||||
|
|
||||||
|
@Import("orientation")
|
||||||
int getOrientation();
|
int getOrientation();
|
||||||
|
|
||||||
|
@Import("hash")
|
||||||
int getHash();
|
int getHash();
|
||||||
|
|
||||||
|
@Import("flags")
|
||||||
int getFlags();
|
int getFlags();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Ignore
|
public interface Ignore
|
||||||
{
|
{
|
||||||
|
@Import("name")
|
||||||
String getName();
|
String getName();
|
||||||
|
|
||||||
|
@Import("prevousName")
|
||||||
String getPreviousName();
|
String getPreviousName();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Item extends Renderable
|
public interface Item extends Renderable
|
||||||
{
|
{
|
||||||
|
@Import("id")
|
||||||
int getId();
|
int getId();
|
||||||
|
|
||||||
|
@Import("quantity")
|
||||||
int getQuantity();
|
int getQuantity();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface ItemComposition
|
public interface ItemComposition
|
||||||
{
|
{
|
||||||
|
@Import("name")
|
||||||
String getName();
|
String getName();
|
||||||
|
|
||||||
|
@Import("isMembers")
|
||||||
boolean isMembers();
|
boolean isMembers();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,20 +1,30 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface ItemLayer
|
public interface ItemLayer
|
||||||
{
|
{
|
||||||
|
@Import("x")
|
||||||
int getX();
|
int getX();
|
||||||
|
|
||||||
|
@Import("y")
|
||||||
int getY();
|
int getY();
|
||||||
|
|
||||||
|
@Import("hash")
|
||||||
int getHash();
|
int getHash();
|
||||||
|
|
||||||
|
@Import("flags")
|
||||||
int getFlags();
|
int getFlags();
|
||||||
|
|
||||||
|
@Import("height")
|
||||||
int getHeight();
|
int getHeight();
|
||||||
|
|
||||||
|
@Import("bottom")
|
||||||
Renderable getBottom();
|
Renderable getBottom();
|
||||||
|
|
||||||
|
@Import("middle")
|
||||||
Renderable getMiddle();
|
Renderable getMiddle();
|
||||||
|
|
||||||
|
@Import("top")
|
||||||
Renderable getTop();
|
Renderable getTop();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface NPC extends Actor
|
public interface NPC extends Actor
|
||||||
{
|
{
|
||||||
|
@Import("composition")
|
||||||
NPCComposition getComposition();
|
NPCComposition getComposition();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,20 +1,30 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface NPCComposition
|
public interface NPCComposition
|
||||||
{
|
{
|
||||||
|
@Import("name")
|
||||||
String getName();
|
String getName();
|
||||||
|
|
||||||
|
@Import("models")
|
||||||
int[] getModels();
|
int[] getModels();
|
||||||
|
|
||||||
|
@Import("actions")
|
||||||
String[] getActions();
|
String[] getActions();
|
||||||
|
|
||||||
|
@Import("clickable")
|
||||||
boolean isClickable();
|
boolean isClickable();
|
||||||
|
|
||||||
|
@Import("isMinimapVisible")
|
||||||
boolean isMinimapVisable();
|
boolean isMinimapVisable();
|
||||||
|
|
||||||
|
@Import("isVisible")
|
||||||
boolean isVisable();
|
boolean isVisable();
|
||||||
|
|
||||||
|
@Import("id")
|
||||||
int getId();
|
int getId();
|
||||||
|
|
||||||
|
@Import("combatLevel")
|
||||||
int getCombatLevel();
|
int getCombatLevel();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,15 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Node
|
public interface Node
|
||||||
{
|
{
|
||||||
|
@Import("next")
|
||||||
Node getNext();
|
Node getNext();
|
||||||
|
|
||||||
|
@Import("hash")
|
||||||
long getHash();
|
long getHash();
|
||||||
|
|
||||||
|
@Import("previous")
|
||||||
Node getPrevious();
|
Node getPrevious();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface ObjectComposition
|
public interface ObjectComposition
|
||||||
{
|
{
|
||||||
|
@Import("name")
|
||||||
String getName();
|
String getName();
|
||||||
|
|
||||||
|
@Import("actions")
|
||||||
String[] getActions();
|
String[] getActions();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,16 +1,24 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Player extends Actor
|
public interface Player extends Actor
|
||||||
{
|
{
|
||||||
|
@Import("composition")
|
||||||
PlayerComposition getComposition();
|
PlayerComposition getComposition();
|
||||||
|
|
||||||
|
@Import("name")
|
||||||
String getName();
|
String getName();
|
||||||
|
|
||||||
|
@Import("model")
|
||||||
Model getModel();
|
Model getModel();
|
||||||
|
|
||||||
|
@Import("combatLevel")
|
||||||
int getCombatLevel();
|
int getCombatLevel();
|
||||||
|
|
||||||
|
@Import("totalLevel")
|
||||||
int getTotalLevel();
|
int getTotalLevel();
|
||||||
|
|
||||||
|
@Import("team")
|
||||||
int getTeam();
|
int getTeam();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface PlayerComposition
|
public interface PlayerComposition
|
||||||
{
|
{
|
||||||
|
@Import("isFemale")
|
||||||
boolean isFemale();
|
boolean isFemale();
|
||||||
|
|
||||||
|
@Import("equipment")
|
||||||
int[] getEquipment();
|
int[] getEquipment();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,16 +1,24 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Projectile
|
public interface Projectile
|
||||||
{
|
{
|
||||||
|
@Import("isMoving")
|
||||||
boolean isMoving();
|
boolean isMoving();
|
||||||
|
|
||||||
|
@Import("animationSequence")
|
||||||
Sequence getAnimationSequence();
|
Sequence getAnimationSequence();
|
||||||
|
|
||||||
|
@Import("velocityY")
|
||||||
double getVelocityY();
|
double getVelocityY();
|
||||||
|
|
||||||
|
@Import("velocityX")
|
||||||
double getVelocityX();
|
double getVelocityX();
|
||||||
|
|
||||||
|
@Import("velocityZ")
|
||||||
double getVelocityZ();
|
double getVelocityZ();
|
||||||
|
|
||||||
|
@Import("scalar")
|
||||||
double getScalar();
|
double getScalar();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Region
|
public interface Region
|
||||||
{
|
{
|
||||||
|
@Import("objects")
|
||||||
GameObject[] getObjects();
|
GameObject[] getObjects();
|
||||||
|
|
||||||
|
@Import("tiles")
|
||||||
Tile[][][] getTiles();
|
Tile[][][] getTiles();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Renderable extends Node
|
public interface Renderable extends Node
|
||||||
{
|
{
|
||||||
|
@Import("modelHeight")
|
||||||
int getModelHeight();
|
int getModelHeight();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,21 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Sequence
|
public interface Sequence
|
||||||
{
|
{
|
||||||
|
@Import("stretches")
|
||||||
boolean getStretches();
|
boolean getStretches();
|
||||||
|
|
||||||
|
@Import("maxLoops")
|
||||||
int getMaxLoops();
|
int getMaxLoops();
|
||||||
|
|
||||||
|
@Import("precedenceAnimating")
|
||||||
int getPrecedenceAnimating();
|
int getPrecedenceAnimating();
|
||||||
|
|
||||||
|
@Import("replyMode")
|
||||||
int getReplyMode();
|
int getReplyMode();
|
||||||
|
|
||||||
|
@Import("interleaveLeave")
|
||||||
int[] getInterleaveLeave();
|
int[] getInterleaveLeave();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,21 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Tile
|
public interface Tile
|
||||||
{
|
{
|
||||||
|
@Import("objects")
|
||||||
GameObject[] getObjects();
|
GameObject[] getObjects();
|
||||||
|
|
||||||
|
@Import("itemLayer")
|
||||||
ItemLayer getItemLayer();
|
ItemLayer getItemLayer();
|
||||||
|
|
||||||
|
@Import("x")
|
||||||
int getX();
|
int getX();
|
||||||
|
|
||||||
|
@Import("y")
|
||||||
int getY();
|
int getY();
|
||||||
|
|
||||||
|
@Import("plane")
|
||||||
int getPlane();
|
int getPlane();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,72 +1,108 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface Widget
|
public interface Widget
|
||||||
{
|
{
|
||||||
|
@Import("parent")
|
||||||
Widget getParent();
|
Widget getParent();
|
||||||
|
|
||||||
|
@Import("dynamicValues")
|
||||||
int[][] getDynamicValues();
|
int[][] getDynamicValues();
|
||||||
|
|
||||||
|
@Import("children")
|
||||||
Widget[] getChildren();
|
Widget[] getChildren();
|
||||||
|
|
||||||
|
@Import("id")
|
||||||
int getId();
|
int getId();
|
||||||
|
|
||||||
|
@Import("parentId")
|
||||||
int getParentId();
|
int getParentId();
|
||||||
|
|
||||||
|
@Import("boundsIndex")
|
||||||
int getBoundsIndex();
|
int getBoundsIndex();
|
||||||
|
|
||||||
|
@Import("modelId")
|
||||||
int getModelId();
|
int getModelId();
|
||||||
|
|
||||||
|
@Import("itemIds")
|
||||||
int[] getItemIds();
|
int[] getItemIds();
|
||||||
|
|
||||||
|
@Import("itemQuantities")
|
||||||
int[] getItemQuantities();
|
int[] getItemQuantities();
|
||||||
|
|
||||||
|
@Import("modelType")
|
||||||
int getModelType();
|
int getModelType();
|
||||||
|
|
||||||
|
@Import("actions")
|
||||||
String[] getActions();
|
String[] getActions();
|
||||||
|
|
||||||
|
@Import("text")
|
||||||
String getText();
|
String getText();
|
||||||
|
|
||||||
|
@Import("name")
|
||||||
String getName();
|
String getName();
|
||||||
|
|
||||||
|
@Import("textColor")
|
||||||
int getTextColor();
|
int getTextColor();
|
||||||
|
|
||||||
|
@Import("opacity")
|
||||||
int getOpacity();
|
int getOpacity();
|
||||||
|
|
||||||
|
@Import("relativeX")
|
||||||
int getRelativeX();
|
int getRelativeX();
|
||||||
|
|
||||||
|
@Import("relativeY")
|
||||||
int getRelativeY();
|
int getRelativeY();
|
||||||
|
|
||||||
|
@Import("width")
|
||||||
int getWidth();
|
int getWidth();
|
||||||
|
|
||||||
|
@Import("heigth")
|
||||||
int getHeight();
|
int getHeight();
|
||||||
|
|
||||||
|
@Import("isHidden")
|
||||||
boolean isHidden();
|
boolean isHidden();
|
||||||
|
|
||||||
|
@Import("index")
|
||||||
int getIndex();
|
int getIndex();
|
||||||
|
|
||||||
|
@Import("rotationX")
|
||||||
int getRotationX();
|
int getRotationX();
|
||||||
|
|
||||||
|
@Import("rotationY")
|
||||||
int getRotationY();
|
int getRotationY();
|
||||||
|
|
||||||
|
@Import("rotationZ")
|
||||||
int getRotationZ();
|
int getRotationZ();
|
||||||
|
|
||||||
|
@Import("contentType")
|
||||||
int getContentType();
|
int getContentType();
|
||||||
|
|
||||||
|
@Import("type")
|
||||||
int getType();
|
int getType();
|
||||||
|
|
||||||
|
@Import("scrollX")
|
||||||
int getScrollX();
|
int getScrollX();
|
||||||
|
|
||||||
|
@Import("scrollY")
|
||||||
int getScrollY();
|
int getScrollY();
|
||||||
|
|
||||||
|
@Import("textureId")
|
||||||
int getTextureId();
|
int getTextureId();
|
||||||
|
|
||||||
|
@Import("borderThickness")
|
||||||
int getBorderThickness();
|
int getBorderThickness();
|
||||||
|
|
||||||
|
@Import("itemId")
|
||||||
int getItemId();
|
int getItemId();
|
||||||
|
|
||||||
|
@Import("itemQuantity")
|
||||||
int getItemQuantity();
|
int getItemQuantity();
|
||||||
|
|
||||||
|
@Import("x")
|
||||||
int getX();
|
int getX();
|
||||||
|
|
||||||
|
@Import("y")
|
||||||
int getY();
|
int getY();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface WidgetNode
|
public interface WidgetNode
|
||||||
{
|
{
|
||||||
|
@Import("id")
|
||||||
int getId();
|
int getId();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,27 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface World
|
public interface World
|
||||||
{
|
{
|
||||||
|
@Import("mask")
|
||||||
int getMask();
|
int getMask();
|
||||||
|
|
||||||
|
@Import("playerCount")
|
||||||
int getPlayerCount();
|
int getPlayerCount();
|
||||||
|
|
||||||
|
@Import("location")
|
||||||
int getLocation();
|
int getLocation();
|
||||||
|
|
||||||
|
@Import("index")
|
||||||
int getIndex();
|
int getIndex();
|
||||||
|
|
||||||
|
@Import("id")
|
||||||
int getId();
|
int getId();
|
||||||
|
|
||||||
|
@Import("activity")
|
||||||
String getActivity();
|
String getActivity();
|
||||||
|
|
||||||
|
@Import("address")
|
||||||
String getAddress();
|
String getAddress();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,15 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface XClanMember
|
public interface XClanMember
|
||||||
{
|
{
|
||||||
|
@Import("name")
|
||||||
String getName();
|
String getName();
|
||||||
|
|
||||||
|
@Import("world")
|
||||||
int getWorld();
|
int getWorld();
|
||||||
|
|
||||||
|
@Import("rank")
|
||||||
byte getRank();
|
byte getRank();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,16 +1,24 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface XGrandExchangeOffer
|
public interface XGrandExchangeOffer
|
||||||
{
|
{
|
||||||
|
@Import("quantitySold")
|
||||||
int getQuantitySold();
|
int getQuantitySold();
|
||||||
|
|
||||||
|
@Import("itemId")
|
||||||
int getItemId();
|
int getItemId();
|
||||||
|
|
||||||
|
@Import("totalQuantity")
|
||||||
int getTotalQuantity();
|
int getTotalQuantity();
|
||||||
|
|
||||||
|
@Import("price")
|
||||||
int getPrice();
|
int getPrice();
|
||||||
|
|
||||||
|
@Import("spent")
|
||||||
int getSpent();
|
int getSpent();
|
||||||
|
|
||||||
|
@Import("progress")
|
||||||
byte getProgress();
|
byte getProgress();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ package net.runelite.rs.api;
|
|||||||
|
|
||||||
public interface XHashTable
|
public interface XHashTable
|
||||||
{
|
{
|
||||||
Node get(long var1);
|
//Node get(long var1);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
package net.runelite.rs.api;
|
package net.runelite.rs.api;
|
||||||
|
|
||||||
|
import net.runelite.mapping.Import;
|
||||||
|
|
||||||
public interface XItemContainer extends Node
|
public interface XItemContainer extends Node
|
||||||
{
|
{
|
||||||
|
@Import("itemIds")
|
||||||
int[] getItemIds();
|
int[] getItemIds();
|
||||||
|
|
||||||
|
@Import("stackSizes")
|
||||||
int[] getStackSizes();
|
int[] getStackSizes();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user