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