AlpacaLibary  1.63
A closed source C++ bot for OSRS
Combat.hpp
Go to the documentation of this file.
1 #ifndef COMBAT_HPP_INCLUDED
2 #define COMBAT_HPP_INCLUDED
3 
4 #include <cstdint>
5 #include <string>
6 
7 namespace Combat
8 {
9  bool IsOpen();
10  bool Open(bool UseHotkey = false);
11  std::int32_t GetTabHotkey();
12 
13  std::int32_t GetHealth();
14  std::int32_t GetMaxHealth();
16 
17  std::int32_t GetSpecialAttack();
19  bool ToggleSpecialAttack(bool Toggle); // Note: Have the combat tab open to force-use the special attack bar
20 
21  bool IsPoisoned();
23 
24  bool IsEnvenomed();
25 
27  bool ToggleAutoRetaliate(bool Toggle);
28 
29  std::int32_t GetStyleIndex();
30  std::string GetStyleString();
31 
32  bool SetStyle(const std::string& Style);
33  bool SetStyle(std::int32_t Index);
34 }
35 
36 #endif // COMBAT_HPP_INCLUDED
Definition: Combat.hpp:8
bool IsOpen()
double GetHealthPercentage()
bool Open(bool UseHotkey=false)
std::int32_t GetHealth()
bool ToggleSpecialAttack(bool Toggle)
std::string GetStyleString()
std::int32_t GetSpecialAttack()
std::int32_t GetTabHotkey()
std::int32_t GetStyleIndex()
bool IsAutoRetaliating()
bool IsSpecialAttacking()
bool ToggleAutoRetaliate(bool Toggle)
bool IsEnvenomed()
bool SetStyle(const std::string &Style)
std::int32_t GetMaxHealth()
bool IsPoisoned()
bool HasPoisonImmunity()