AlpacaLibary  1.63
A closed source C++ bot for OSRS
Worlds.hpp
Go to the documentation of this file.
1 #ifndef WORLDS_HPP_INCLUDED
2 #define WORLDS_HPP_INCLUDED
3 
4 #include "../../Core/Classes/World.hpp"
5 #include <functional>
6 #include <cstdint>
7 #include <string>
8 #include <vector>
9 
10 namespace Worlds
11 {
12  bool Refresh();
13 
15  bool SwitchWorld(std::int32_t WorldID);
16 
17  std::int32_t GetCurrent();
18  std::vector<Internal::World> GetAll();
19 
20  std::int32_t GetIndexOf(Internal::World World);
21  std::int32_t GetIndexOf(std::int32_t WorldID);
22 
23  std::vector<Internal::World> GetF2P();
24  std::vector<Internal::World> GetP2P();
25 
26  bool IsP2P(Internal::World World);
27  bool IsP2P(std::int32_t WorldID);
28 
29  Internal::World GetBy(std::int32_t WorldID);
30  std::vector<Internal::World> GetBy(const std::function<bool (Internal::World&)>& Filter);
31 }
32 
33 #endif // WORLDS_HPP_INCLUDED
std::vector< Internal::World > GetAll()
bool IsP2P(Internal::World World)
std::vector< Internal::World > GetF2P()
std::vector< Internal::World > GetP2P()
Internal::World GetBy(std::int32_t WorldID)
bool Refresh()
bool SwitchWorld(Internal::World World)
std::int32_t GetCurrent()
std::int32_t GetIndexOf(Internal::World World)