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