Release 1.26

master
Kasi 2019-05-28 17:34:51 +01:00
parent ebc8dae835
commit 00928dc173
20 changed files with 66 additions and 2 deletions

View File

@ -34,6 +34,7 @@ namespace Internal
std::vector<std::int32_t> GetItemAmounts() const;
std::int32_t GetItemID() const;
std::vector<std::int32_t> GetItemIDs() const;
std::int32_t GetModelID() const;
std::string GetName() const;
bool GetNoClickThrough() const;
Widget GetParent() const;

View File

@ -40,6 +40,21 @@ namespace Globals
const SettingsDef SETTING_SHIFT_CLICK_DROP = { 1055, 17 };
const SettingsDef SETTING_SCROLL_WHEEL_TO_ZOOM = { 1055, 29 };
const SettingsDef SETTING_COMBAT_TAB_HOTKEY = { 1224, 0 };
const SettingsDef SETTING_STATS_TAB_HOTKEY = { 1224, 5 };
const SettingsDef SETTING_QUESTS_TAB_HOTKEY = { 1224, 10 };
const SettingsDef SETTING_INVENTORY_TAB_HOTKEY = { 1224, 15 };
const SettingsDef SETTING_EQUIPMENT_TAB_HOTKEY = { 1224, 20 };
const SettingsDef SETTING_PRAYER_TAB_HOTKEY = { 1224, 25 };
const SettingsDef SETTING_MAGIC_TAB_HOTKEY = { 1225, 0 };
const SettingsDef SETTING_CLAN_TAB_HOTKEY = { 1225, 5 };
const SettingsDef SETTING_FRIENDS_TAB_HOTKEY = { 1225, 10 };
const SettingsDef SETTING_ACCOUNT_TAB_HOTKEY = { 1225, 15 };
const SettingsDef SETTING_OPTIONS_TAB_HOTKEY = { 1225, 20 };
const SettingsDef SETTING_EMOTE_TAB_HOTKEY = { 1225, 25 };
const SettingsDef SETTING_MUSIC_TAB_HOTKEY = { 1226, 0 };
const SettingsDef SETTING_LOGOUT_TAB_HOTKEY = { 1226, 5 };
const std::int32_t WIDGET_ROOT_LOBBY = 165;
const std::int32_t WIDGET_ROOT_FIXED = 548;
const std::int32_t WIDGET_ROOT_RESIZABLE = 161;
@ -435,6 +450,7 @@ namespace Globals
//************ Prayer.cpp ************//
const std::int32_t PRAYER_PRAYERS_PARENT = 541; // To be used with PrayerDefs
typedef struct PrayerDef
{
std::string Name;

View File

@ -17,7 +17,7 @@ class Wireframe
Point GetHybridRandomPoint(double ProbabilityX, double ProbabilityY, double StandardDeviationX, double StandardDeviationY, double PointGenAccuracy) const;
Point GetProfileHybridRandomPoint() const;
Point GetProfileHybridRandomPoint(double PointGenAccuracy) const;
Point GetHighPrecisionPoint() const;
Point GetHighPrecisionPoint(double Deviation = 0.50) const;
Box GetBox() const;
Convex GetConvex() const;
bool Contains(const Point& P) const;

View File

@ -1,12 +1,15 @@
#ifndef ACCOUNTMANAGEMENT_HPP_INCLUDED
#define ACCOUNTMANAGEMENT_HPP_INCLUDED
#include <cstdint>
/** @addtogroup GameTabs
* @{ */
namespace AccountManagement
{
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
}
/** @} */

View File

@ -11,6 +11,7 @@ namespace Clan
{
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
std::vector<Internal::ClanMember> GetAll();
std::vector<Internal::ClanMember> GetAll(const std::function<bool (Internal::ClanMember&)>& Filter);
}

View File

@ -10,9 +10,11 @@ namespace Combat
{
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
std::int32_t GetHealth();
std::int32_t GetMaxHealth();
double GetHealthPercentage();
std::int32_t GetSpecialAttack();
bool IsSpecialAttacking();

View File

@ -1,12 +1,15 @@
#ifndef EMOTES_HPP_INCLUDED
#define EMOTES_HPP_INCLUDED
#include <cstdint>
/** @addtogroup GameTabs
* @{ */
namespace Emotes
{
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
}
/** @} */

View File

@ -29,6 +29,7 @@ namespace Equipment
bool IsOpen();
bool Open();
bool IsEmpty();
std::int32_t GetTabHotkey();
std::vector<int32_t> GetItemIDs();
std::vector<std::string> GetItemNames();

View File

@ -11,6 +11,7 @@ namespace Friends
{
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
std::vector<Internal::Friend> GetAll();
std::vector<Internal::Friend> GetAll(const std::function<bool (Internal::Friend&)>& Filter);
}

View File

@ -11,6 +11,7 @@ namespace Ignores
{
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
std::vector<Internal::Ignore> GetAll();
std::vector<Internal::Ignore> GetAll(const std::function<bool (Internal::Ignore&)>& Filter);
}

View File

@ -15,6 +15,7 @@ namespace Inventory
{
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
std::vector<std::int32_t> GetItemIDs();
std::vector<std::string> GetItemNames();

View File

@ -13,6 +13,7 @@ namespace Logout
{
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
bool LogoutPlayer();
bool IsWorldSwitcherOpen(bool WaitToLoadWorlds = true);

View File

@ -196,6 +196,7 @@ namespace Magic
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
bool HasLevel(const SPELL& Spell);

View File

@ -1,12 +1,15 @@
#ifndef MUSIC_HPP_INCLUDED
#define MUSIC_HPP_INCLUDED
#include <cstdint>
/** @addtogroup GameTabs
* @{ */
namespace Music
{
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
}
/** @} */

View File

@ -1,12 +1,15 @@
#ifndef OPTIONS_HPP_INCLUDED
#define OPTIONS_HPP_INCLUDED
#include <cstdint>
/** @addtogroup GameTabs
* @{ */
namespace Options
{
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
bool GetAcceptAid();
bool ToggleAcceptAid(bool Toggle);

View File

@ -43,6 +43,7 @@ namespace Prayer
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
std::int32_t GetPoints();
bool HasLevel(PRAYERS Prayer);
bool IsActive(PRAYERS Prayer);

View File

@ -1,12 +1,15 @@
#ifndef QUESTS_HPP_INCLUDED
#define QUESTS_HPP_INCLUDED
#include <cstdint>
/** @addtogroup GameTabs
* @{ */
namespace Quests
{
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
}
/** @} */

View File

@ -37,6 +37,7 @@ namespace Stats
bool IsOpen();
bool Open();
std::int32_t GetTabHotkey();
std::int32_t GetWeight();
std::int32_t GetRunEnergy();
std::int32_t GetCurrentLevel(SKILLS Skill);

View File

@ -16,6 +16,27 @@ namespace Settings
std::int32_t GetScreenType();
typedef enum GAMETAB
{
TAB_ACCOUNT,
TAB_CLAN,
TAB_COMBAT,
TAB_EMOTES,
TAB_EQUIPMENT,
TAB_FRIENDS,
TAB_IGNORES,
TAB_INVENTORY,
TAB_LOGOUT,
TAB_MAGIC,
TAB_MUSIC,
TAB_OPTIONS,
TAB_PRAYER,
TAB_QUESTS,
TAB_STATS
} GAMETAB;
std::int32_t GetGametabHotkey(GAMETAB Tab);
bool IsEscToCloseInterfacesOn();
bool IsShiftClickToDropOn();
bool IsScrollToZoomOn();

Binary file not shown.