AlpacaLibary  1.63
A closed source C++ bot for OSRS
Minimap.hpp File Reference
#include "../../Core/Types/Tile.hpp"
#include "../../Core/Types/Point.hpp"
#include "../../Core/Classes/Region.hpp"
#include <cstdint>
#include <functional>

Go to the source code of this file.

Namespaces

 Minimap
 

Functions

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