AlpacaLibary  1.63
A closed source C++ bot for OSRS
Makescreen Namespace Reference

Enumerations

enum  MAKE_AMOUNT { ALL = -1 }
 

Functions

bool IsOpen ()
 Returns true if the Makescreen is open. More...
 
bool Make (std::int32_t Amount, bool ClickButtonOverride=false)
 Selects or enters the amount passed, and clicks the middle "Make" button, before returning true. More...
 
std::string GetCraftingName ()
 Returns the text of the middle widget when the Makescreen is open. More...
 

Enumeration Type Documentation

◆ MAKE_AMOUNT

Enumerator
ALL 

Definition at line 9 of file Makescreen.hpp.

Function Documentation

◆ GetCraftingName()

std::string Makescreen::GetCraftingName ( )

Returns the text of the middle widget when the Makescreen is open.

Returns
Text of the middle widget when the Makescreen is open

◆ IsOpen()

bool Makescreen::IsOpen ( )

Returns true if the Makescreen is open.

Returns
true if the makescreen is open

◆ Make()

bool Makescreen::Make ( std::int32_t  Amount,
bool  ClickButtonOverride = false 
)

Selects or enters the amount passed, and clicks the middle "Make" button, before returning true.

Parameters
AmountThe amount to select, before clicking the middle "Make" button, passing -1 will use the All button
ClickButtonOverrideForces the function to click the needed amount button again, regardless if it's already selected
Returns
true if the function succesfully clicks the "Make" button
false if the makescreen isn't open, or interaction fails