public class DrawCallback
extends java.lang.Object
Constructor and Description |
---|
DrawCallback() |
Modifier and Type | Method and Description |
---|---|
static void |
displayAndScreenshotLevelUp(java.lang.String statName,
int level)
Displays level up messages and takes screenshot the next frame.
|
static void |
drawHook()
The hook called each frame by the patched client.
|
static long |
getNextRefresh()
Returns the value of the next refresh.
|
static boolean |
getToggleOnViewId()
Retrieves the value of the toggleOnViewId variable.
|
static void |
resetXpCounter()
Resets the XP counter and re-initializes the necessary variables.
|
static void |
setNextDeRefresh(long nextDeRefreshValue)
Sets the value of the nextDeRefresh variable.
|
static void |
setNextRefresh(long nextRefreshValue)
Sets the value of the nextRefresh variable.
|
static void |
setStatusText(java.lang.String str)
Sets the left hand pane bot status text.
|
static void |
setToggleOnViewId(boolean toggleOnViewIdValue)
Sets the value of the toggleOnViewId variable.
|
public static long getNextRefresh()
public static boolean getToggleOnViewId()
public static void setNextRefresh(long nextRefreshValue)
nextRefreshValue
- the value to set for the nextRefresh variablepublic static void setNextDeRefresh(long nextDeRefreshValue)
nextDeRefreshValue
- the new value for nextDeRefreshpublic static void setToggleOnViewId(boolean toggleOnViewIdValue)
toggleOnViewIdValue
- the new value for toggleOnViewIdpublic static void drawHook()
public static void setStatusText(java.lang.String str)
str
- "@col@string status text"public static void displayAndScreenshotLevelUp(java.lang.String statName, int level)
statName
- stringlevel
- integerpublic static void resetXpCounter()