Package org.dreambot.api.methods.cs2
Class RuneScriptEvent
- java.lang.Object
-
- org.dreambot.api.methods.cs2.RuneScriptEvent
-
public class RuneScriptEvent extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RuneScriptEvent()
RuneScriptEvent(org.dreambot.internal.injector.interfaces.RSScriptEvent event)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createEvent(java.lang.Object... args)
Creates its cs2 script based on the given argsWidgetChild
getDragTarget()
org.dreambot.internal.injector.interfaces.RSScriptEvent
getEvent()
boolean
getMouseInput()
int
getMouseX()
int
getMouseY()
java.lang.String
getOpbase()
int
getType()
int
getVar()
int
getVarcIndex()
java.lang.Integer
getVarcIntVal()
java.lang.String
getVarcStringVal()
WidgetChild
getWidget()
boolean
isConsumed()
void
setConsumed(boolean consumed)
void
setDragTarget(WidgetChild wc)
void
setEvent(org.dreambot.internal.injector.interfaces.RSScriptEvent event)
void
setMouseInput(boolean mouseInput)
void
setMouseX(int mouseX)
void
setMouseY(int mouseY)
void
setOpbase(java.lang.String opbase)
void
setType(int type)
void
setVar(int var)
void
setVarcIndex(int varcIndex)
void
setVarcIntVal(java.lang.Integer varcIntVal)
void
setVarcStringVal(java.lang.String varcStringVal)
void
setWidget(WidgetChild wc)
-
-
-
Method Detail
-
createEvent
public void createEvent(java.lang.Object... args)
Creates its cs2 script based on the given args- Parameters:
args
- args of the cs2 script
-
setVar
public void setVar(int var)
-
getVar
public int getVar()
-
setDragTarget
public void setDragTarget(WidgetChild wc)
-
getDragTarget
public WidgetChild getDragTarget()
-
setWidget
public void setWidget(WidgetChild wc)
-
getWidget
public WidgetChild getWidget()
-
setType
public void setType(int type)
-
getType
public int getType()
-
setMouseInput
public void setMouseInput(boolean mouseInput)
-
getMouseInput
public boolean getMouseInput()
-
setMouseX
public void setMouseX(int mouseX)
-
getMouseX
public int getMouseX()
-
setMouseY
public void setMouseY(int mouseY)
-
getMouseY
public int getMouseY()
-
setOpbase
public void setOpbase(java.lang.String opbase)
-
getOpbase
public java.lang.String getOpbase()
-
getEvent
public org.dreambot.internal.injector.interfaces.RSScriptEvent getEvent()
-
isConsumed
public boolean isConsumed()
-
getVarcIndex
public int getVarcIndex()
-
getVarcIntVal
public java.lang.Integer getVarcIntVal()
-
getVarcStringVal
public java.lang.String getVarcStringVal()
-
setEvent
public void setEvent(org.dreambot.internal.injector.interfaces.RSScriptEvent event)
-
setConsumed
public void setConsumed(boolean consumed)
-
setVarcIndex
public void setVarcIndex(int varcIndex)
-
setVarcIntVal
public void setVarcIntVal(java.lang.Integer varcIntVal)
-
setVarcStringVal
public void setVarcStringVal(java.lang.String varcStringVal)
-
-