api: more imports and tile stuff
This commit is contained in:
@@ -1883,6 +1883,10 @@ public interface Client extends GameShell
|
||||
|
||||
boolean isSpellSelected();
|
||||
|
||||
String getSelectedSpellActionName();
|
||||
|
||||
int getSelectedSpellFlags();
|
||||
|
||||
/**
|
||||
* Set whether or not player attack options will be hidden for friends
|
||||
*/
|
||||
@@ -1937,8 +1941,12 @@ public interface Client extends GameShell
|
||||
|
||||
void setSelectedItemID(int id);
|
||||
|
||||
int getSelectedItemWidget();
|
||||
|
||||
void setSelectedItemWidget(int widgetID);
|
||||
|
||||
int getSelectedItemSlot();
|
||||
|
||||
void setSelectedItemSlot(int idx);
|
||||
|
||||
int getSelectedSpellWidget();
|
||||
@@ -2067,4 +2075,8 @@ public interface Client extends GameShell
|
||||
int getFollowerIndex();
|
||||
|
||||
int isItemSelected();
|
||||
|
||||
String getSelectedItemName();
|
||||
|
||||
Widget getMessageContinueWidget();
|
||||
}
|
||||
|
||||
@@ -111,6 +111,8 @@ public interface ItemDefinition
|
||||
*/
|
||||
String[] getInventoryActions();
|
||||
|
||||
String[] getGroundActions();
|
||||
|
||||
/**
|
||||
* Gets the menu action index of the shift-click action.
|
||||
*
|
||||
|
||||
@@ -89,4 +89,12 @@ public interface Player extends Actor
|
||||
*/
|
||||
@Nullable
|
||||
SkullIcon getSkullIcon();
|
||||
|
||||
/**
|
||||
* This is almost always not what you want
|
||||
* @return literal 0
|
||||
*/
|
||||
int getRSSkillLevel();
|
||||
|
||||
String[] getActions();
|
||||
}
|
||||
|
||||
@@ -42,4 +42,9 @@ public interface TileItem extends Entity
|
||||
* @return
|
||||
*/
|
||||
int getSpawnTime();
|
||||
|
||||
/**
|
||||
* @return the tile this item is on
|
||||
*/
|
||||
Tile getTile();
|
||||
}
|
||||
|
||||
@@ -68,6 +68,8 @@ public interface Widget
|
||||
*/
|
||||
void setType(int type);
|
||||
|
||||
int getButtonType();
|
||||
|
||||
/**
|
||||
* Gets the type of content displayed by the widget.
|
||||
*/
|
||||
@@ -179,6 +181,18 @@ public interface Widget
|
||||
@Deprecated
|
||||
void setRelativeY(int y);
|
||||
|
||||
String getSpellName();
|
||||
|
||||
/**
|
||||
* You probably want {@link Widget#getText()} instead
|
||||
*/
|
||||
String getRSButtonText();
|
||||
|
||||
/**
|
||||
* You probably want {@link Widget#getText()} instead
|
||||
*/
|
||||
String getButtonText();
|
||||
|
||||
/**
|
||||
* Gets the text displayed on this widget.
|
||||
*
|
||||
@@ -235,6 +249,12 @@ public interface Widget
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* Gets the internal field returned by getName unfiltered
|
||||
* @return the unfiltered name
|
||||
*/
|
||||
String getRSName();
|
||||
|
||||
/**
|
||||
* Sets the name of the widget.
|
||||
*
|
||||
@@ -605,6 +625,8 @@ public interface Widget
|
||||
*/
|
||||
String[] getActions();
|
||||
|
||||
String[] getItemActions();
|
||||
|
||||
/**
|
||||
* Creates a dynamic widget child
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user