banktags, cooking, xpdrop, fishing, friendnotes
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
*/
|
||||
package net.runelite.api;
|
||||
|
||||
public interface EnumDefinition
|
||||
public interface EnumComposition
|
||||
{
|
||||
int[] getKeys();
|
||||
|
||||
@@ -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.
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user