Release 1.15

master
Kasi 2018-12-26 08:44:53 +00:00
parent ea36f2c258
commit c33448e3c0
7 changed files with 18 additions and 3 deletions

View File

@ -25,6 +25,8 @@ namespace Internal
std::int32_t GetRotationX() const; std::int32_t GetRotationX() const;
std::int32_t GetRotationY() const; std::int32_t GetRotationY() const;
std::int32_t GetStartTick() const; std::int32_t GetStartTick() const;
double GetVelocityY() const;
double GetVelocityX() const;
double GetX() const; double GetX() const;
double GetY() const; double GetY() const;
}; };

View File

@ -267,7 +267,7 @@ namespace Internal
bool IsItemPlaceholder(std::int32_t ID); bool IsItemPlaceholder(std::int32_t ID);
bool IsItemStackable(std::int32_t ID); bool IsItemStackable(std::int32_t ID);
std::vector<Box> GetBlockingWidgetBoxes(); std::vector<Box> GetBlockingWidgetBoxes();
std::int32_t GetHealthPercentage(const Internal::Character& C); double GetHealthPercentage(const Internal::Character& C);
std::vector<Widget> GetWidgets(std::int32_t Container); std::vector<Widget> GetWidgets(std::int32_t Container);
} }

View File

@ -6,12 +6,13 @@ class Class;
class Object class Object
{ {
public: public:
void* Obj; void* Obj = nullptr;
Object(); Object();
Object(const void* Obj); Object(const void* Obj);
Object(const Object& O); Object(const Object& O);
Object(Object&& O); Object(Object&& O);
Object& operator=(const Object& O); Object& operator=(const Object& O);
Object& operator=(Object&& O);
bool operator==(const Object& O) const; bool operator==(const Object& O) const;
bool operator!=(const Object& O) const; bool operator!=(const Object& O) const;
bool Equals(Object O) const; bool Equals(Object O) const;

View File

@ -17,6 +17,7 @@ namespace Interactable
std::vector<Point> GetModel() const; std::vector<Point> GetModel() const;
Tile GetTile() const; Tile GetTile() const;
Tile GetTargetTile() const;
Internal::Character GetInteracting() const; Internal::Character GetInteracting() const;
bool Interacting() const; bool Interacting() const;
bool Interacting(const Internal::Character& C) const; bool Interacting(const Internal::Character& C) const;

View File

@ -3,6 +3,7 @@
#include <string> #include <string>
#include <cstdint> #include <cstdint>
#include <regex>
/** @addtogroup GameTabs /** @addtogroup GameTabs
* @{ */ * @{ */
@ -154,7 +155,9 @@ class Magic
ANCIENT_ANNAKARL_TELEPORT, ANCIENT_ANNAKARL_TELEPORT,
ANCIENT_GHORROCK_TELEPORT, ANCIENT_GHORROCK_TELEPORT,
ANCIENT_TELEPORT_TO_BOUNTY_TARGET, ANCIENT_TELEPORT_TO_BOUNTY_TARGET,
ANCIENT_EDGEVILLE_HOME_TELEPORT ANCIENT_EDGEVILLE_HOME_TELEPORT,
NONE
} SPELL; } SPELL;
@ -167,6 +170,7 @@ class Magic
static bool IsSpellSelected(const SPELL& Spell); static bool IsSpellSelected(const SPELL& Spell);
static bool IsSpellSelected(const std::string& Name); static bool IsSpellSelected(const std::string& Name);
static std::string GetSelectedSpellName(); static std::string GetSelectedSpellName();
static const SPELL GetSelectedSpell();
static bool CastSpell(const SPELL& Spell); static bool CastSpell(const SPELL& Spell);
static bool SelectSpell(const SPELL& Spell); static bool SelectSpell(const SPELL& Spell);

View File

@ -53,6 +53,13 @@ class Minimap
*/ */
static bool IsTileOn(const Tile& T); static bool IsTileOn(const Tile& T);
/**
* @brief When poisoned, clicks on the health orb to cure
*
* @return true if poisoned and if the function successfully clicks the "Cure" option on the orb
*/
static bool ClickCure();
/** /**
* @brief Clicks on the minimap compass to quickly face North * @brief Clicks on the minimap compass to quickly face North
* *

Binary file not shown.