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