Add run energy plugin
This commit is contained in:
@@ -456,6 +456,13 @@ public interface Client extends GameEngine
|
||||
*/
|
||||
int getEnergy();
|
||||
|
||||
/**
|
||||
* Gets the current weight of the logged in player.
|
||||
*
|
||||
* @return the weight
|
||||
*/
|
||||
int getWeight();
|
||||
|
||||
/**
|
||||
* Gets an array of options that can currently be used on other players.
|
||||
* <p>
|
||||
|
||||
@@ -39,6 +39,11 @@ public enum Varbits
|
||||
*/
|
||||
TRANSPARENT_CHATBOX(4608),
|
||||
|
||||
/*
|
||||
* If the player has an active stamina potion effect or not
|
||||
*/
|
||||
RUN_SLOWED_DEPLETION_ACTIVE(25),
|
||||
|
||||
/**
|
||||
* If scrollbar in resizable mode chat is on the left
|
||||
*/
|
||||
|
||||
@@ -254,6 +254,8 @@ public class WidgetID
|
||||
static final int PRAYER_ORB = 12;
|
||||
static final int QUICK_PRAYER_ORB = 14; // Has the "Quick-prayers" name
|
||||
static final int RUN_ORB = 20;
|
||||
static final int TOGGLE_RUN_ORB = 22; // Has the "Toggle run" name
|
||||
static final int RUN_ORB_TEXT = 23;
|
||||
static final int SPEC_ORB = 28;
|
||||
}
|
||||
|
||||
|
||||
@@ -141,6 +141,8 @@ public enum WidgetInfo
|
||||
MINIMAP_PRAYER_ORB(WidgetID.MINIMAP_GROUP_ID, WidgetID.Minimap.PRAYER_ORB),
|
||||
MINIMAP_QUICK_PRAYER_ORB(WidgetID.MINIMAP_GROUP_ID, WidgetID.Minimap.QUICK_PRAYER_ORB),
|
||||
MINIMAP_RUN_ORB(WidgetID.MINIMAP_GROUP_ID, WidgetID.Minimap.RUN_ORB),
|
||||
MINIMAP_TOGGLE_RUN_ORB(WidgetID.MINIMAP_GROUP_ID, WidgetID.Minimap.TOGGLE_RUN_ORB),
|
||||
MINIMAP_RUN_ORB_TEXT(WidgetID.MINIMAP_GROUP_ID, WidgetID.Minimap.RUN_ORB_TEXT),
|
||||
MINIMAP_HEALTH_ORB(WidgetID.MINIMAP_GROUP_ID, WidgetID.Minimap.HEALTH_ORB),
|
||||
MINIMAP_SPEC_ORB(WidgetID.MINIMAP_GROUP_ID, WidgetID.Minimap.SPEC_ORB),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user