AlpacaLibary  1.63
A closed source C++ bot for OSRS
Players.hpp
Go to the documentation of this file.
1 #ifndef PLAYERS_HPP_INCLUDED
2 #define PLAYERS_HPP_INCLUDED
3 
4 #include "../../Game/Interactable/Player.hpp"
5 #include <functional>
6 #include <cstdint>
7 #include <vector>
8 #include <string>
9 
10 namespace Players
11 {
13  std::vector<Interactable::Player> GetAllWithin(std::int32_t Distance);
14 
15  std::vector<Interactable::Player> GetAll();
16  std::vector<Interactable::Player> GetAll(const Tile& Tile);
17  std::vector<Interactable::Player> GetAll(const std::string& Name, std::int32_t Distance = -1);
18  std::vector<Interactable::Player> GetAll(const std::vector<std::string>& Names, std::int32_t Distance = -1);
19  std::vector<Interactable::Player> GetAll(const std::function<bool (Interactable::Player&)>& Filter, std::int32_t Distance = -1);
20 
22  Interactable::Player Get(const std::string& Name, std::int32_t Distance = -1);
23  Interactable::Player Get(const std::vector<std::string>& Names, std::int32_t Distance = -1);
24  Interactable::Player Get(const std::function<bool (const Interactable::Player&)>& Filter, std::int32_t Distance = -1);
25 }
26 
27 #endif // PLAYERS_HPP_INCLUDED
Definition: Tile.hpp:8
std::vector< Interactable::Player > GetAllWithin(std::int32_t Distance)
Interactable::Player Get(const Tile &Tile)
std::vector< Interactable::Player > GetAll()
Interactable::Player GetLocal()