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

Functions

Point GetMiddle ()
 Returns the middle point of the minimap. More...
 
std::int32_t GetPlane ()
 Returns the plane the local player is on. More...
 
Tile GetPosition ()
 Returns the tile the local player is on. More...
 
Tile GetDestination ()
 Returns the tile of the local players destination. More...
 
bool IsCloseTo (const Tile &T, std::int32_t Distance)
 Returns true if the local players position is close to the passed tile, uses pixels as distance. More...
 
bool IsTileOn (const Tile &T)
 Returns true if the passed tile is on the minimap. More...
 
bool ClickCure ()
 When poisoned, clicks on the health orb to cure. More...
 
bool ClickCompass ()
 Clicks on the minimap compass to quickly face North. More...
 
bool ClickQuickPrayer ()
 Clicks the quick-prayer orb. More...
 
bool ClickToggleRun ()
 Clicks the toggle-run orb. More...
 
bool ClickSpecial ()
 
bool ClickTile (const Tile &T, std::int32_t Random=5)
 
bool WalkPath (const std::vector< Tile > &Path, std::int32_t Distance, std::int32_t Random)
 
bool WalkPath (const std::vector< Tile > &Path, std::int32_t Distance, std::int32_t Random, std::function< bool()> Func)
 
bool IsReachable (const Tile &T)
 

Function Documentation

◆ ClickCompass()

bool Minimap::ClickCompass ( )

Clicks on the minimap compass to quickly face North.

Returns
true if the function succesfully clicks the compass, and the camera angle is 0 / North

◆ ClickCure()

bool Minimap::ClickCure ( )

When poisoned, clicks on the health orb to cure.

Returns
true if poisoned and if the function successfully clicks the "Cure" option on the orb

◆ ClickQuickPrayer()

bool Minimap::ClickQuickPrayer ( )

Clicks the quick-prayer orb.

Returns
true if the function succesfully clicked the orb

◆ ClickSpecial()

bool Minimap::ClickSpecial ( )

◆ ClickTile()

bool Minimap::ClickTile ( const Tile T,
std::int32_t  Random = 5 
)

◆ ClickToggleRun()

bool Minimap::ClickToggleRun ( )

Clicks the toggle-run orb.

Returns
true if the function succesfully clicked the orb

◆ GetDestination()

Tile Minimap::GetDestination ( )

Returns the tile of the local players destination.

Returns
the tile of the local players destination

◆ GetMiddle()

Point Minimap::GetMiddle ( )

Returns the middle point of the minimap.

Returns
the middle point of the minimap

◆ GetPlane()

std::int32_t Minimap::GetPlane ( )

Returns the plane the local player is on.

Returns
the plane the local player is on

◆ GetPosition()

Tile Minimap::GetPosition ( )

Returns the tile the local player is on.

Returns
the tile the local player is on

◆ IsCloseTo()

bool Minimap::IsCloseTo ( const Tile T,
std::int32_t  Distance 
)

Returns true if the local players position is close to the passed tile, uses pixels as distance.

Parameters
Ttile to check
Distancein pixels
Returns
true if the local players position is close to the passed tile

◆ IsReachable()

bool Minimap::IsReachable ( const Tile T)

◆ IsTileOn()

bool Minimap::IsTileOn ( const Tile T)

Returns true if the passed tile is on the minimap.

Parameters
Ttile to check
Returns
true if the passed tile is on the minimap

◆ WalkPath() [1/2]

bool Minimap::WalkPath ( const std::vector< Tile > &  Path,
std::int32_t  Distance,
std::int32_t  Random 
)

◆ WalkPath() [2/2]

bool Minimap::WalkPath ( const std::vector< Tile > &  Path,
std::int32_t  Distance,
std::int32_t  Random,
std::function< bool()>  Func 
)