mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-07 08:39:13 +00:00
[BUGFIX] Set getOpenBackDialogId as deprecated
This commit is contained in:
@@ -36,6 +36,18 @@ public class Game {
|
|||||||
return Loader.getClient().getOpenInterfaceId();
|
return Loader.getClient().getOpenInterfaceId();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get open back dialog id
|
||||||
|
*
|
||||||
|
* @return back dialog id
|
||||||
|
* @deprecated Use {@link Interfaces #getBackDialogId()} instead.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
|
public static int getOpenBackDialogId() {
|
||||||
|
return Loader.getClient().getBackDialogId();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets loop cycle
|
* Gets loop cycle
|
||||||
*
|
*
|
||||||
@@ -81,10 +93,9 @@ public class Game {
|
|||||||
* Returns the settings within the client
|
* Returns the settings within the client
|
||||||
*
|
*
|
||||||
* @param index The index of the setting you want to gather
|
* @param index The index of the setting you want to gather
|
||||||
*
|
|
||||||
* @return The specific setting for the given index
|
* @return The specific setting for the given index
|
||||||
*/
|
*/
|
||||||
public static int getSetting(int index){
|
public static int getSetting(int index) {
|
||||||
return Loader.getClient().getSettings()[index];
|
return Loader.getClient().getSettings()[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -93,7 +104,7 @@ public class Game {
|
|||||||
*
|
*
|
||||||
* @return All settings
|
* @return All settings
|
||||||
*/
|
*/
|
||||||
public static int[] getSettings(){
|
public static int[] getSettings() {
|
||||||
return Loader.getClient().getSettings();
|
return Loader.getClient().getSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -109,15 +120,16 @@ public class Game {
|
|||||||
/**
|
/**
|
||||||
* Just simply drops the client
|
* Just simply drops the client
|
||||||
*/
|
*/
|
||||||
public static void dropClient(){
|
public static void dropClient() {
|
||||||
Loader.getClient().dropClient();
|
Loader.getClient().dropClient();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Drops the client and returns if the game is logged out or not
|
* Drops the client and returns if the game is logged out or not
|
||||||
|
*
|
||||||
* @return True if game is logged out, false if not
|
* @return True if game is logged out, false if not
|
||||||
*/
|
*/
|
||||||
public static boolean confirmedDropClient(){
|
public static boolean confirmedDropClient() {
|
||||||
Loader.getClient().dropClient();
|
Loader.getClient().dropClient();
|
||||||
Time.sleep(new SleepCondition() {
|
Time.sleep(new SleepCondition() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user