AlpacaLibrary/Include/Game/Interfaces/GameTabs/Combat.hpp

37 lines
825 B
C++
Raw Permalink Normal View History

2017-12-25 23:49:48 +00:00
#ifndef COMBAT_HPP_INCLUDED
#define COMBAT_HPP_INCLUDED
#include <cstdint>
#include <string>
2018-12-27 18:17:09 +00:00
namespace Combat
2017-12-25 23:49:48 +00:00
{
2018-12-27 18:17:09 +00:00
bool IsOpen();
2019-05-31 20:06:57 +00:00
bool Open(bool UseHotkey = false);
2019-05-28 16:34:51 +00:00
std::int32_t GetTabHotkey();
2017-12-25 23:49:48 +00:00
2018-12-27 18:17:09 +00:00
std::int32_t GetHealth();
std::int32_t GetMaxHealth();
2019-05-28 16:34:51 +00:00
double GetHealthPercentage();
2017-12-25 23:49:48 +00:00
2018-12-27 18:17:09 +00:00
std::int32_t GetSpecialAttack();
bool IsSpecialAttacking();
2019-11-20 02:17:31 +00:00
bool ToggleSpecialAttack(bool Toggle); // Note: Have the combat tab open to force-use the special attack bar
2017-12-25 23:49:48 +00:00
2018-12-27 18:17:09 +00:00
bool IsPoisoned();
bool HasPoisonImmunity();
2017-12-25 23:49:48 +00:00
2020-02-20 12:53:23 +00:00
bool IsEnvenomed();
2018-12-27 18:17:09 +00:00
bool IsAutoRetaliating();
bool ToggleAutoRetaliate(bool Toggle);
2017-12-25 23:49:48 +00:00
2018-12-27 18:17:09 +00:00
std::int32_t GetStyleIndex();
std::string GetStyleString();
2018-09-30 10:29:36 +00:00
2018-12-27 18:17:09 +00:00
bool SetStyle(const std::string& Style);
bool SetStyle(std::int32_t Index);
2018-12-31 21:52:58 +00:00
}
2017-12-25 23:49:48 +00:00
#endif // COMBAT_HPP_INCLUDED