banktags, cooking, xpdrop, fishing, friendnotes

This commit is contained in:
therealunull
2020-12-16 14:49:04 -05:00
parent 3be6ba5cc0
commit fc1c0799bd
60 changed files with 5217 additions and 112 deletions

View File

@@ -1814,7 +1814,7 @@ public interface Client extends GameShell
*/
SpritePixels[] getCrossSprites();
EnumDefinition getEnum(int id);
EnumComposition getEnum(int id);
/**
* Draws a menu in the 2010 interface style.

View File

@@ -24,7 +24,7 @@
*/
package net.runelite.api;
public interface EnumDefinition
public interface EnumComposition
{
int[] getKeys();

View File

@@ -30,7 +30,7 @@ import lombok.Value;
* An event where a request to remove a friend is sent to the server.
*/
@Value
public class FriendRemoved implements Event
public class RemovedFriend implements Event
{
/**
* The name of the removed friend.

View File

@@ -981,7 +981,7 @@ public enum WidgetInfo
* @param id passed group-child ID
* @return the group ID
*/
public static int TO_GROUP(int id)
public static int getGroupFromID(int id)
{
return id >>> 16;
}
@@ -993,21 +993,8 @@ public enum WidgetInfo
* @param id passed group-child ID
* @return the child ID
*/
public static int TO_CHILD(int id)
public static int getChildFromID(int id)
{
return id & 0xFFFF;
}
/**
* Packs the group and child IDs into a single integer.
*
* @param groupId the group ID
* @param childId the child ID
* @return the packed ID
*/
public static int PACK(int groupId, int childId)
{
return groupId << 16 | childId;
}
}