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

Functions

bool MoveMouse (const Point &P)
 
bool MoveMouse (const Box &B)
 
bool Click (const Button &B=BUTTON_LEFT)
 
bool Click (const Point &P, const Button &B=BUTTON_LEFT)
 
bool Click (const Point &P, const std::string &Option, const std::string &Target="")
 
bool Click (const Point &P, const std::vector< std::string > &Options, const std::string &Target="")
 
bool Click (const Box &B, const Button &Button=BUTTON_LEFT)
 
bool Click (const Box &B, const std::string &Option, const std::string &Target="")
 
bool Click (const Box &B, const std::vector< std::string > &Options, const std::string &Target="")
 
bool Click (const Convex &C, const Button &B=BUTTON_LEFT)
 
bool Click (const Convex &C, const std::string &Option, const std::string &Target="")
 
bool Click (const Convex &C, const std::vector< std::string > &Options, const std::string &Target="")
 
bool Scroll (const ScrollDirection &Direction)
 
bool ScrollUntil (const ScrollDirection &Direction, std::int32_t Duration, const std::function< bool()> &Func)
 
bool UpKey (std::int32_t Key)
 
bool DownKey (std::int32_t Key)
 
bool ReleaseKey (std::int32_t Key)
 
bool HoldKey (std::int32_t Key, std::uint32_t Duration)
 
bool TypeKey (std::int32_t Key)
 
bool TypeString (const std::string &String, bool PressEnter=false)
 

Function Documentation

◆ Click() [1/10]

bool Interact::Click ( const Box B,
const Button Button = BUTTON_LEFT 
)

◆ Click() [2/10]

bool Interact::Click ( const Box B,
const std::string &  Option,
const std::string &  Target = "" 
)

◆ Click() [3/10]

bool Interact::Click ( const Box B,
const std::vector< std::string > &  Options,
const std::string &  Target = "" 
)

◆ Click() [4/10]

bool Interact::Click ( const Button B = BUTTON_LEFT)

◆ Click() [5/10]

bool Interact::Click ( const Convex C,
const Button B = BUTTON_LEFT 
)

◆ Click() [6/10]

bool Interact::Click ( const Convex C,
const std::string &  Option,
const std::string &  Target = "" 
)

◆ Click() [7/10]

bool Interact::Click ( const Convex C,
const std::vector< std::string > &  Options,
const std::string &  Target = "" 
)

◆ Click() [8/10]

bool Interact::Click ( const Point P,
const Button B = BUTTON_LEFT 
)

◆ Click() [9/10]

bool Interact::Click ( const Point P,
const std::string &  Option,
const std::string &  Target = "" 
)

◆ Click() [10/10]

bool Interact::Click ( const Point P,
const std::vector< std::string > &  Options,
const std::string &  Target = "" 
)

◆ DownKey()

bool Interact::DownKey ( std::int32_t  Key)

◆ HoldKey()

bool Interact::HoldKey ( std::int32_t  Key,
std::uint32_t  Duration 
)

◆ MoveMouse() [1/2]

bool Interact::MoveMouse ( const Box B)

◆ MoveMouse() [2/2]

bool Interact::MoveMouse ( const Point P)

◆ ReleaseKey()

bool Interact::ReleaseKey ( std::int32_t  Key)

◆ Scroll()

bool Interact::Scroll ( const ScrollDirection Direction)

◆ ScrollUntil()

bool Interact::ScrollUntil ( const ScrollDirection Direction,
std::int32_t  Duration,
const std::function< bool()> &  Func 
)

◆ TypeKey()

bool Interact::TypeKey ( std::int32_t  Key)

◆ TypeString()

bool Interact::TypeString ( const std::string &  String,
bool  PressEnter = false 
)

◆ UpKey()

bool Interact::UpKey ( std::int32_t  Key)