Release 1.18
parent
681c2f84ce
commit
5b700745e9
|
@ -34,7 +34,8 @@ namespace Debug
|
|||
|
||||
void Clear();
|
||||
void Screenshot(const std::string& Path);
|
||||
};
|
||||
void SetSleepMultiplier(std::int32_t Multiplier);
|
||||
}
|
||||
|
||||
|
||||
#endif // DEBUG_HPP_INCLUDED
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace Paint
|
|||
void DrawString(const std::string& String, const Point& P, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
|
||||
void DrawPixels(const std::vector<Pixel> Pixels, std::uint32_t Width, std::uint32_t Height, const Point& P);
|
||||
void SwapBuffer();
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ namespace Bank
|
|||
|
||||
std::int32_t GetDefaultWithdrawQuantity();
|
||||
bool SetDefaultWithdrawQuantity(std::int32_t Amount);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ namespace Chat
|
|||
bool SelectDialogueOption(const std::vector<std::string>& Options, bool UseKeyboard = false);
|
||||
|
||||
bool WaitDialogueState(std::uint32_t Duration, std::uint32_t Step, Chat::DIALOGUE_STATE State, bool Result = true); // Waits until the current chat state equals State
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace DepositBox
|
|||
bool DepositAll();
|
||||
bool DepositEquipment();
|
||||
bool DepositLoot();
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -110,7 +110,7 @@ namespace Exchange
|
|||
bool AbortOffer(const Exchange::SLOT Slot = -1);
|
||||
|
||||
bool OpenOffer(const Exchange::SLOT Slot);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -3,12 +3,11 @@
|
|||
|
||||
/** @addtogroup GameTabs
|
||||
* @{ */
|
||||
class AccountManagement
|
||||
namespace AccountManagement
|
||||
{
|
||||
public:
|
||||
static bool IsOpen();
|
||||
static bool Open();
|
||||
};
|
||||
bool IsOpen();
|
||||
bool Open();
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace Clan
|
|||
bool Open();
|
||||
std::vector<Internal::ClanMember> GetAll();
|
||||
std::vector<Internal::ClanMember> GetAll(const std::function<bool (Internal::ClanMember&)>& Filter);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace Combat
|
|||
|
||||
bool SetStyle(const std::string& Style);
|
||||
bool SetStyle(std::int32_t Index);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Emotes
|
|||
{
|
||||
bool IsOpen();
|
||||
bool Open();
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ namespace Equipment
|
|||
bool Unequip(std::int32_t ID);
|
||||
bool Unequip(const std::string& Name);
|
||||
bool Unequip(const Interactable::Item& Item);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace Friends
|
|||
bool Open();
|
||||
std::vector<Internal::Friend> GetAll();
|
||||
std::vector<Internal::Friend> GetAll(const std::function<bool (Internal::Friend&)>& Filter);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace Ignores
|
|||
bool Open();
|
||||
std::vector<Internal::Ignore> GetAll();
|
||||
std::vector<Internal::Ignore> GetAll(const std::function<bool (Internal::Ignore&)>& Filter);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ namespace Inventory
|
|||
bool Drop(std::int32_t ID, bool AllowShiftClick = true);
|
||||
bool Drop(const std::string& Name, bool AllowShiftClick = true);
|
||||
bool Drop(const Interactable::Item& Item, bool AllowShiftClick = true);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ namespace Logout
|
|||
|
||||
Interactable::Widget GetWorldWidget(const Internal::World& World);
|
||||
Interactable::Widget GetWorldWidget(std::int32_t WorldID);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -172,7 +172,7 @@ namespace Magic
|
|||
|
||||
bool CastSpell(const SPELL& Spell);
|
||||
bool SelectSpell(const SPELL& Spell);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Music
|
|||
{
|
||||
bool IsOpen();
|
||||
bool Open();
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace Options
|
|||
|
||||
bool GetRunMode();
|
||||
bool ToggleRunMode(bool Toggle);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ namespace Prayer
|
|||
bool WaitPrayer(std::uint32_t Duration, std::uint32_t Step, PRAYERS Prayer, bool Active);
|
||||
bool Activate(PRAYERS Prayer);
|
||||
bool Deactivate(PRAYERS Prayer);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Quests
|
|||
{
|
||||
bool IsOpen();
|
||||
bool Open();
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ namespace Stats
|
|||
std::int32_t GetRealLevel(SKILLS Skill);
|
||||
std::int64_t GetExperience(SKILLS Skill);
|
||||
std::int32_t GetExperienceTo(SKILLS Skill, std::int32_t Level);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ namespace Login
|
|||
* @return a world box corresponding to the world select screen.
|
||||
*/
|
||||
Box GetWorldBox(std::uint32_t Index);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace Mainscreen
|
|||
bool WaitUpTextContains(std::uint32_t Duration, std::uint32_t Step, const std::string& UpText);
|
||||
bool WaitUpTextContains(std::uint32_t Duration, std::uint32_t Step, const std::vector<std::string>& UpTexts);
|
||||
bool ClickTile(const Tile& T);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ namespace Makescreen
|
|||
* @return Text of the middle widget when the Makescreen is open
|
||||
*/
|
||||
std::string GetCraftingName();
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -294,7 +294,7 @@ namespace Menu
|
|||
* @return Box representing the full menu, returns a null box if the menu isn't open
|
||||
*/
|
||||
Box GetBox();
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ namespace Minimap
|
|||
bool WalkPath(const std::vector<Tile>& Path, std::int32_t Distance, std::int32_t Random, std::function<bool()> Func);
|
||||
|
||||
bool IsReachable(const Tile& T);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -16,6 +16,6 @@ namespace Trade
|
|||
std::vector<std::int32_t> GetTheirOfferItemIDs();
|
||||
std::vector<std::string> GetTheirOfferItemNames();
|
||||
std::vector<std::int32_t> GetTheirOfferItemAmounts();
|
||||
};
|
||||
}
|
||||
|
||||
#endif // TRADE_HPP_INCLUDED
|
||||
|
|
|
@ -26,7 +26,7 @@ namespace DecorativeObjects
|
|||
Interactable::DecorativeObject Get(const std::vector<std::int32_t>& IDs, std::int32_t Distance = -1);
|
||||
Interactable::DecorativeObject Get(const std::vector<std::string>& Names, std::int32_t Distance = -1);
|
||||
Interactable::DecorativeObject Get(const std::function<bool (const Interactable::DecorativeObject&)>& Filter, std::int32_t Distance = -1);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace GameObjects
|
|||
Interactable::GameObject Get(const std::vector<std::int32_t>& IDs, std::int32_t Distance = -1);
|
||||
Interactable::GameObject Get(const std::vector<std::string>& Names, std::int32_t Distance = -1);
|
||||
Interactable::GameObject Get(const std::function<bool (const Interactable::GameObject&)>& Filter, std::int32_t Distance = -1);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace GroundItems
|
|||
Interactable::GroundItem Get(const std::vector<std::int32_t>& IDs, std::int32_t Distance = -1);
|
||||
Interactable::GroundItem Get(const std::vector<std::string>& Names, std::int32_t Distance = -1);
|
||||
Interactable::GroundItem Get(const std::function<bool (Interactable::GroundItem&)>& Filter, std::int32_t Distance = -1);
|
||||
};
|
||||
}
|
||||
/** @} */
|
||||
|
||||
#endif // GROUNDITEMS_HPP_INCLUDED
|
||||
|
|
|
@ -26,7 +26,7 @@ namespace GroundObjects
|
|||
Interactable::GroundObject Get(const std::vector<std::int32_t>& IDs, std::int32_t Distance = -1);
|
||||
Interactable::GroundObject Get(const std::vector<std::string>& Names, std::int32_t Distance = -1);
|
||||
Interactable::GroundObject Get(const std::function<bool (const Interactable::GroundObject&)>& Filter, std::int32_t Distance = -1);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace NPCs
|
|||
Interactable::NPC Get(const std::vector<std::int32_t>& IDs, std::int32_t Distance = -1);
|
||||
Interactable::NPC Get(const std::vector<std::string>& Names, std::int32_t Distance = -1);
|
||||
Interactable::NPC Get(const std::function<bool (const Interactable::NPC&)>& Filter, std::int32_t Distance = -1);
|
||||
};
|
||||
}
|
||||
/** @} */
|
||||
|
||||
#endif // NPCS_HPP_INCLUDED
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace Players
|
|||
Interactable::Player Get(const std::string& Name, std::int32_t Distance = -1);
|
||||
Interactable::Player Get(const std::vector<std::string>& Names, std::int32_t Distance = -1);
|
||||
Interactable::Player Get(const std::function<bool (const Interactable::Player&)>& Filter, std::int32_t Distance = -1);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace Projectiles
|
|||
Interactable::Projectile Get(std::int32_t ID, std::int32_t Distance = -1);
|
||||
Interactable::Projectile Get(const std::vector<std::int32_t>& IDs, std::int32_t Distance = -1);
|
||||
Interactable::Projectile Get(const std::function<bool (Interactable::Projectile&)>& Filter, std::int32_t Distance = -1);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif // PROJECTILES_HPP_INCLUDED
|
||||
|
|
|
@ -26,7 +26,7 @@ namespace WallObjects
|
|||
Interactable::WallObject Get(const std::vector<std::int32_t>& IDs, std::int32_t Distance = -1);
|
||||
Interactable::WallObject Get(const std::vector<std::string>& Names, std::int32_t Distance = -1);
|
||||
Interactable::WallObject Get(const std::function<bool (const Interactable::WallObject&)>& Filter, std::int32_t Distance = -1);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -9,6 +9,6 @@ namespace Antiban
|
|||
void MouseOffClient(bool LoseFocus = true);
|
||||
void SetClientSize(std::int32_t Width, std::int32_t Height);
|
||||
void MaximizeClient();
|
||||
};
|
||||
}
|
||||
|
||||
#endif // ANTIBAN_HPP_INCLUDED
|
||||
|
|
|
@ -13,6 +13,6 @@ namespace BreakHandler
|
|||
bool ShortBreak(bool Logout = true);
|
||||
bool LongBreak(bool Logout = true);
|
||||
bool Break(bool LogoutOnLong = true, bool LogoutOnShort = true, bool LogoutOnMini = false);
|
||||
};
|
||||
}
|
||||
|
||||
#endif // BREAKHANDLER_HPP_INCLUDED
|
||||
|
|
|
@ -113,7 +113,7 @@ namespace Camera
|
|||
* @return true if the camera sets the pitch (+/-) 10 of the passed pitch
|
||||
*/
|
||||
bool SetPitch(CAMERA_PITCH Pitch);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ namespace Interact
|
|||
bool HoldKey(std::int32_t Key, std::uint32_t Duration);
|
||||
bool TypeKey(std::int32_t Key);
|
||||
bool TypeString(const std::string& String, bool PressEnter = false);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -136,6 +136,6 @@ namespace Pathfinding
|
|||
static std::vector<Pathfinding::TileNode> Finder_BFS( std::uint32_t StartX, std::uint32_t StartY,
|
||||
const std::vector<std::pair<std::uint32_t, std::uint32_t>>& Ends,
|
||||
std::int32_t Options );*/
|
||||
};
|
||||
}
|
||||
|
||||
#endif // PATHFINDING_HPP_INCLUDED
|
||||
|
|
|
@ -124,7 +124,7 @@ namespace Profile
|
|||
|
||||
void SetPointGenAccuracy(double Accuracy);
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -11,6 +11,6 @@ namespace RandomHandler
|
|||
Countdown GetCheckCountdown();
|
||||
Counter GetRandomsCounter();
|
||||
bool Check();
|
||||
};
|
||||
}
|
||||
|
||||
#endif // RANDOMHANDLER_HPP_INCLUDED
|
||||
|
|
|
@ -18,7 +18,8 @@ namespace Settings
|
|||
|
||||
bool IsEscToCloseInterfacesOn();
|
||||
bool IsShiftClickToDropOn();
|
||||
};
|
||||
bool IsScrollToZoomOn();
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace Widgets
|
|||
Interactable::Widget Get(std::int32_t Parent, std::int32_t Child = -1);
|
||||
Interactable::Widget Get(std::int32_t Parent, std::int32_t Child, std::int32_t Grandchild);
|
||||
Interactable::Widget Get(const std::function<bool (Interactable::Widget&)>& Filter);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ namespace Worlds
|
|||
|
||||
Internal::World GetBy(std::int32_t WorldID);
|
||||
std::vector<Internal::World> GetBy(const std::function<bool (Internal::World&)>& Filter);
|
||||
};
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue