Injector, deob, mixins
This commit is contained in:
@@ -107,7 +107,7 @@ public interface Actor extends Renderable
|
||||
* Gets the orientation of the actor.
|
||||
*
|
||||
* @return the orientation
|
||||
* @see api.coords.Angle
|
||||
* @see net.runelite.api.coords.Angle
|
||||
*/
|
||||
int getOrientation();
|
||||
|
||||
@@ -208,7 +208,7 @@ public interface Actor extends Renderable
|
||||
* Gets the convex hull of the actors model.
|
||||
*
|
||||
* @return the convex hull
|
||||
* @see api.model.Jarvis
|
||||
* @see net.runelite.api.model.Jarvis
|
||||
*/
|
||||
Polygon getConvexHull();
|
||||
|
||||
|
||||
@@ -433,7 +433,7 @@ public interface Client extends GameShell
|
||||
/**
|
||||
* Gets the widget that is being dragged on.
|
||||
* <p>
|
||||
* The widget being dragged has the {@link api.widgets.WidgetConfig#DRAG_ON}
|
||||
* The widget being dragged has the {@link net.runelite.api.widgets.WidgetConfig#DRAG_ON}
|
||||
* flag set, and is the widget currently under the dragged widget.
|
||||
*
|
||||
* @return the dragged on widget, null if not dragging any widget
|
||||
@@ -552,7 +552,7 @@ public interface Client extends GameShell
|
||||
/**
|
||||
* Sets the array of open menu entries.
|
||||
* <p>
|
||||
* This method should typically be used in the context of the {@link api.events.MenuOpened}
|
||||
* This method should typically be used in the context of the {@link net.runelite.api.events.MenuOpened}
|
||||
* event, since setting the menu entries will be overwritten the next frame
|
||||
*
|
||||
* @param entries new array of open menu entries
|
||||
|
||||
@@ -40,7 +40,7 @@ public interface CollisionData
|
||||
* values can be obtained and used with the {@link CollisionDataFlag} class.
|
||||
*
|
||||
* @return all collision flags for the tiles in the scene
|
||||
* @see api.config.Constants#SCENE_SIZE
|
||||
* @see net.runelite.api.Constants#SCENE_SIZE
|
||||
*/
|
||||
int[][] getFlags();
|
||||
}
|
||||
@@ -35,7 +35,7 @@ public interface DecorativeObject extends TileObject
|
||||
* Gets the convex hull of the objects model.
|
||||
*
|
||||
* @return the convex hull
|
||||
* @see api.model.Jarvis
|
||||
* @see net.runelite.api.model.Jarvis
|
||||
*/
|
||||
Polygon getConvexHull();
|
||||
Polygon getConvexHull2();
|
||||
|
||||
@@ -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 api.kit.KitType}.
|
||||
* in the {@link PlayerAppearance}, use {@link net.runelite.api.kit.KitType}.
|
||||
*
|
||||
* @see Client#getItemContainer(InventoryID)
|
||||
* @see InventoryID#EQUIPMENT
|
||||
|
||||
@@ -57,7 +57,7 @@ public interface GameObject extends TileObject
|
||||
* Gets the convex hull of the actors model.
|
||||
*
|
||||
* @return the convex hull
|
||||
* @see api.model.Jarvis
|
||||
* @see net.runelite.api.model.Jarvis
|
||||
*/
|
||||
Polygon getConvexHull();
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@ package net.runelite.api;
|
||||
|
||||
public class GraphicID
|
||||
{
|
||||
public static final int WINE_MAKE = 47;
|
||||
public static final int SPLASH = 85;
|
||||
public static final int GREY_BUBBLE_TELEPORT = 86;
|
||||
public static final int TELEPORT = 111;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
*/
|
||||
package net.runelite.api;
|
||||
|
||||
import static api.config.Constants.TILE_FLAG_BRIDGE;
|
||||
import static net.runelite.api.Constants.TILE_FLAG_BRIDGE;
|
||||
import java.awt.FontMetrics;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Polygon;
|
||||
@@ -555,7 +555,7 @@ public class Perspective
|
||||
|
||||
for (Triangle triangle : triangles)
|
||||
{
|
||||
api.model.Vertex _a = triangle.getA();
|
||||
net.runelite.api.model.Vertex _a = triangle.getA();
|
||||
Point a = localToCanvas(client,
|
||||
point.getX() - _a.getX(),
|
||||
point.getY() - _a.getZ(),
|
||||
|
||||
@@ -43,7 +43,7 @@ public interface ScriptEvent
|
||||
* Gets the widget of the event.
|
||||
*
|
||||
* @return the widget
|
||||
* @see api.widgets.Widget
|
||||
* @see net.runelite.api.widgets.Widget
|
||||
*/
|
||||
Widget getSource();
|
||||
|
||||
@@ -58,7 +58,7 @@ public interface ScriptEvent
|
||||
* Gets the target of the menu option
|
||||
*
|
||||
* @return the target
|
||||
* @see api.events.MenuOptionClicked
|
||||
* @see net.runelite.api.events.MenuOptionClicked
|
||||
*/
|
||||
String getOpbase();
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ public interface WidgetNode extends Node
|
||||
* The ID of the widget.
|
||||
*
|
||||
* @return the ID of the widget
|
||||
* @see api.widgets.Widget
|
||||
* @see net.runelite.api.widgets.Widget
|
||||
*/
|
||||
int getId();
|
||||
}
|
||||
|
||||
@@ -24,10 +24,10 @@
|
||||
*/
|
||||
package net.runelite.api.coords;
|
||||
|
||||
import static api.coords.Direction.EAST;
|
||||
import static api.coords.Direction.NORTH;
|
||||
import static api.coords.Direction.SOUTH;
|
||||
import static api.coords.Direction.WEST;
|
||||
import static net.runelite.api.coords.Direction.EAST;
|
||||
import static net.runelite.api.coords.Direction.NORTH;
|
||||
import static net.runelite.api.coords.Direction.SOUTH;
|
||||
import static net.runelite.api.coords.Direction.WEST;
|
||||
import lombok.Value;
|
||||
|
||||
/**
|
||||
|
||||
@@ -33,7 +33,7 @@ import net.runelite.api.CollisionData;
|
||||
import net.runelite.api.CollisionDataFlag;
|
||||
import net.runelite.api.Point;
|
||||
import net.runelite.api.Tile;
|
||||
import net.runelite.api.config.Constants;
|
||||
import net.runelite.api.Constants;
|
||||
|
||||
/**
|
||||
* Represents an area on the world.
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
package net.runelite.api.coords;
|
||||
|
||||
import static api.config.Constants.CHUNK_SIZE;
|
||||
import static net.runelite.api.Constants.CHUNK_SIZE;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
|
||||
@@ -14,7 +14,7 @@ import net.runelite.api.Actor;
|
||||
* <li>A player starts or stops dancing</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see api.AnimationID
|
||||
* @see net.runelite.api.AnimationID
|
||||
*/
|
||||
@Data
|
||||
public class AnimationChanged
|
||||
|
||||
@@ -38,7 +38,7 @@ import net.runelite.api.Skill;
|
||||
* <li>Levelling up a skill</li>
|
||||
* </ul>
|
||||
* <p>
|
||||
* Use {@link api.Client#getBoostedSkillLevel(Skill)} in order to
|
||||
* Use {@link net.runelite.api.Client#getBoostedSkillLevel(Skill)} in order to
|
||||
* retrieve the newly boosted skill level.
|
||||
*/
|
||||
@Data
|
||||
|
||||
@@ -28,7 +28,7 @@ import lombok.Value;
|
||||
import net.runelite.api.ItemContainer;
|
||||
|
||||
/**
|
||||
* An event called whenever the stack size of an {@link api.Item}
|
||||
* An event called whenever the stack size of an {@link net.runelite.api.Item}
|
||||
* in an {@link ItemContainer} is modified.
|
||||
* <p>
|
||||
* Examples of when this event may trigger include:
|
||||
|
||||
@@ -64,7 +64,7 @@ public class MenuOptionClicked
|
||||
/**
|
||||
* The ID of the widget where the menu was clicked.
|
||||
*
|
||||
* @see api.WidgetID
|
||||
* @see net.runelite.api.WidgetID
|
||||
*/
|
||||
private int widgetId;
|
||||
/**
|
||||
|
||||
@@ -16,7 +16,7 @@ import net.runelite.api.Actor;
|
||||
* <li>Breaking a teleport tab</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see api.GraphicID
|
||||
* @see net.runelite.api.GraphicID
|
||||
*/
|
||||
@Data
|
||||
public class SpotAnimationChanged
|
||||
|
||||
@@ -27,7 +27,7 @@ package net.runelite.api.events;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* An event where a {@link api.widgets.Widget} has been loaded.
|
||||
* An event where a {@link net.runelite.api.widgets.Widget} has been loaded.
|
||||
*/
|
||||
@Data
|
||||
public class WidgetLoaded
|
||||
|
||||
@@ -28,7 +28,7 @@ import lombok.Data;
|
||||
import net.runelite.api.widgets.WidgetInfo;
|
||||
|
||||
/**
|
||||
* An event where an option has been clicked in a {@link api.widgets.Widget}s menu.
|
||||
* An event where an option has been clicked in a {@link net.runelite.api.widgets.Widget}s menu.
|
||||
*/
|
||||
@Data
|
||||
public class WidgetMenuOptionClicked
|
||||
|
||||
@@ -27,7 +27,7 @@ package net.runelite.api.events;
|
||||
import lombok.Value;
|
||||
|
||||
/**
|
||||
* An event where the position of a {@link api.widgets.Widget}
|
||||
* An event where the position of a {@link net.runelite.api.widgets.Widget}
|
||||
* relative to its parent has changed.
|
||||
*/
|
||||
@Value
|
||||
|
||||
@@ -37,7 +37,7 @@ import net.runelite.api.widgets.WidgetItem;
|
||||
public interface Callbacks
|
||||
{
|
||||
/**
|
||||
* Post an event. See the events in api.events.
|
||||
* Post an event. See the events in net.runelite.api.events.
|
||||
*
|
||||
* @param event the event
|
||||
*/
|
||||
|
||||
@@ -31,8 +31,8 @@ import net.runelite.api.PlayerAppearance;
|
||||
* <p>
|
||||
* These values are intended for use with {@link PlayerAppearance} equipment
|
||||
* slots. For obtaining information about equipment in the local players
|
||||
* equipment {@link api.ItemContainer}, use
|
||||
* {@link api.EquipmentInventorySlot}.
|
||||
* equipment {@link net.runelite.api.ItemContainer}, use
|
||||
* {@link net.runelite.api.EquipmentInventorySlot}.
|
||||
*/
|
||||
public enum KitType
|
||||
{
|
||||
|
||||
@@ -626,14 +626,14 @@ public interface Widget
|
||||
/**
|
||||
* Returns the archive id of the font used
|
||||
*
|
||||
* @see api.FontID
|
||||
* @see net.runelite.api.FontID
|
||||
*/
|
||||
int getFontId();
|
||||
|
||||
/**
|
||||
* Sets the archive id of the font
|
||||
*
|
||||
* @see api.FontID
|
||||
* @see net.runelite.api.FontID
|
||||
*/
|
||||
void setFontId(int id);
|
||||
|
||||
@@ -681,12 +681,12 @@ public interface Widget
|
||||
void setDragDeadTime(int deadTime);
|
||||
|
||||
/**
|
||||
* Returns widget {@link api.widgets.ItemQuantityMode}.
|
||||
* Returns widget {@link net.runelite.api.widgets.ItemQuantityMode}.
|
||||
*/
|
||||
int getItemQuantityMode();
|
||||
|
||||
/**
|
||||
* Sets the widget {@link api.widgets.ItemQuantityMode}
|
||||
* Sets the widget {@link net.runelite.api.widgets.ItemQuantityMode}
|
||||
*/
|
||||
void setItemQuantityMode(int itemQuantityMode);
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ package net.runelite.api.widgets;
|
||||
/**
|
||||
* Represents a group-child {@link Widget} relationship.
|
||||
* <p>
|
||||
* For getting a specific widget from the client, see {@link api.Client#getWidget(WidgetInfo)}.
|
||||
* For getting a specific widget from the client, see {@link net.runelite.api.Client#getWidget(WidgetInfo)}.
|
||||
*/
|
||||
public enum WidgetInfo
|
||||
{
|
||||
|
||||
@@ -41,7 +41,7 @@ public class WidgetItem
|
||||
/**
|
||||
* The ID of the item represented.
|
||||
*
|
||||
* @see api.ItemID
|
||||
* @see net.runelite.api.ItemID
|
||||
*/
|
||||
private final int id;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user