Package org.dreambot.api.methods.emotes
Class Emotes
- java.lang.Object
-
- org.dreambot.api.methods.emotes.Emotes
-
public class Emotes extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intINTERFACE_ID_CHILDstatic intINTERFACE_ID_PARENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleandoEmote(Emote emote)Performs chosen emotestatic booleandoRandomEmote()Does a random emotestatic WidgetChildgetEmoteChild(Emote emote)static WidgetChildgetEmoteContainer()static booleanisTabOpen()Checks whether the emotes tab is openstatic booleanopenTab()Opens the emotes tab
-
-
-
Field Detail
-
INTERFACE_ID_PARENT
public static final int INTERFACE_ID_PARENT
- See Also:
- Constant Field Values
-
INTERFACE_ID_CHILD
public static final int INTERFACE_ID_CHILD
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEmoteContainer
public static WidgetChild getEmoteContainer()
-
getEmoteChild
public static WidgetChild getEmoteChild(Emote emote)
-
openTab
public static boolean openTab()
Opens the emotes tab- Returns:
- true if successfully opened
-
isTabOpen
public static boolean isTabOpen()
Checks whether the emotes tab is open- Returns:
- true if the emotes tab is open
-
doEmote
public static boolean doEmote(Emote emote)
Performs chosen emote- Parameters:
emote- emote to perform- Returns:
- true if emote successfully performed
-
doRandomEmote
public static boolean doRandomEmote()
Does a random emote- Returns:
- True if emote interaction successful else False
-
-