Release 0.14

master
Kasi 2018-03-18 14:38:29 +00:00
parent b1c93fda90
commit 2550477852
71 changed files with 1055 additions and 859 deletions

View File

@ -6,6 +6,8 @@
#include <vector> #include <vector>
#include <cstdint> #include <cstdint>
namespace Internal
{
class Animation : public CacheableNode class Animation : public CacheableNode
{ {
public: public:
@ -20,5 +22,6 @@ class Animation : public CacheableNode
std::int32_t GetRightHandItem() const; std::int32_t GetRightHandItem() const;
}; };
}
#endif // ANIMATION_HPP_INCLUDED #endif // ANIMATION_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class AttackOption : public Object class AttackOption : public Object
{ {
public: public:
@ -16,5 +18,6 @@ class AttackOption : public Object
std::int32_t GetType() const; std::int32_t GetType() const;
}; };
}
#endif // ATTACKOPTION_HPP_INCLUDED #endif // ATTACKOPTION_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include "HashTable.hpp" #include "HashTable.hpp"
#include "Queue.hpp" #include "Queue.hpp"
namespace Internal
{
class Cache : public Object class Cache : public Object
{ {
public: public:
@ -18,5 +20,6 @@ class Cache : public Object
Queue GetQueue() const; Queue GetQueue() const;
}; };
}
#endif // CACHE_HPP_INCLUDED #endif // CACHE_HPP_INCLUDED

View File

@ -4,6 +4,8 @@
#include "Node.hpp" #include "Node.hpp"
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
namespace Internal
{
class CacheableNode : public Node class CacheableNode : public Node
{ {
public: public:
@ -16,5 +18,6 @@ class CacheableNode : public Node
CacheableNode GetPrev() const; CacheableNode GetPrev() const;
}; };
}
#endif // CACHEABLENODE_HPP_INCLUDED #endif // CACHEABLENODE_HPP_INCLUDED

View File

@ -8,6 +8,8 @@
#include <string> #include <string>
#include <vector> #include <vector>
namespace Internal
{
class Character : public Renderable class Character : public Renderable
{ {
public: public:
@ -34,5 +36,6 @@ class Character : public Renderable
std::int32_t GetY() const; std::int32_t GetY() const;
}; };
}
#endif // CHARACTER_HPP_INCLUDED #endif // CHARACTER_HPP_INCLUDED

View File

@ -7,6 +7,8 @@
#include <vector> #include <vector>
#include "MessageNode.hpp" #include "MessageNode.hpp"
namespace Internal
{
class ChatLineBuffer : public Object class ChatLineBuffer : public Object
{ {
public: public:
@ -19,5 +21,6 @@ class ChatLineBuffer : public Object
std::vector<MessageNode> GetLines() const; std::vector<MessageNode> GetLines() const;
}; };
}
#endif // CHATLINEBUFFER_HPP_INCLUDED #endif // CHATLINEBUFFER_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class ClanMember : public Talkable class ClanMember : public Talkable
{ {
public: public:
@ -14,5 +16,6 @@ class ClanMember : public Talkable
static Class GetClass(); static Class GetClass();
}; };
}
#endif // CLANMEMBER_HPP_INCLUDED #endif // CLANMEMBER_HPP_INCLUDED

View File

@ -4,6 +4,8 @@
#include "NameableContainer.hpp" #include "NameableContainer.hpp"
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
namespace Internal
{
class ClanMemberList : public NameableContainer class ClanMemberList : public NameableContainer
{ {
public: public:
@ -13,5 +15,6 @@ class ClanMemberList : public NameableContainer
static Class GetClass(); static Class GetClass();
}; };
}
#endif // CLANMEMBERLIST_HPP_INCLUDED #endif // CLANMEMBERLIST_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include <cstdint> #include <cstdint>
#include "Renderable.hpp" #include "Renderable.hpp"
namespace Internal
{
class DecorativeObject : public Object class DecorativeObject : public Object
{ {
public: public:
@ -26,5 +28,6 @@ class DecorativeObject : public Object
std::int32_t GetY() const; std::int32_t GetY() const;
}; };
}
#endif // DECORATIVEOBJECT_HPP_INCLUDED #endif // DECORATIVEOBJECT_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include "Node.hpp" #include "Node.hpp"
namespace Internal
{
class Deque : public Object class Deque : public Object
{ {
public: public:
@ -17,5 +19,6 @@ class Deque : public Object
Node GetTail() const; Node GetTail() const;
}; };
}
#endif // DEQUE_HPP_INCLUDED #endif // DEQUE_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class DynamicObject : public Renderable class DynamicObject : public Renderable
{ {
public: public:
@ -17,5 +19,6 @@ class DynamicObject : public Renderable
std::int32_t GetOrientation() const; std::int32_t GetOrientation() const;
std::int32_t GetType() const; std::int32_t GetType() const;
}; };
}
#endif // DYNAMICOBJECT_HPP_INCLUDED #endif // DYNAMICOBJECT_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class ExchangeOffer : public Object class ExchangeOffer : public Object
{ {
public: public:
@ -19,5 +21,6 @@ class ExchangeOffer : public Object
std::int32_t GetTotalAmount() const; std::int32_t GetTotalAmount() const;
}; };
}
#endif // EXCHANGEOFFER_HPP_INCLUDED #endif // EXCHANGEOFFER_HPP_INCLUDED

View File

@ -7,6 +7,8 @@
#include <cstdint> #include <cstdint>
#include "FrameMap.hpp" #include "FrameMap.hpp"
namespace Internal
{
class Frame : public Object class Frame : public Object
{ {
public: public:
@ -24,5 +26,6 @@ class Frame : public Object
std::int32_t GetTranslatorsLength() const; std::int32_t GetTranslatorsLength() const;
}; };
}
#endif // FRAME_HPP_INCLUDED #endif // FRAME_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include <vector> #include <vector>
#include <cstdint> #include <cstdint>
namespace Internal
{
class FrameMap : public Node class FrameMap : public Node
{ {
public: public:
@ -18,5 +20,6 @@ class FrameMap : public Node
std::vector<std::int32_t> GetTypes() const; std::vector<std::int32_t> GetTypes() const;
}; };
}
#endif // FRAMEMAP_HPP_INCLUDED #endif // FRAMEMAP_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include <vector> #include <vector>
#include "Frame.hpp" #include "Frame.hpp"
namespace Internal
{
class Frames : public CacheableNode class Frames : public CacheableNode
{ {
public: public:
@ -17,5 +19,6 @@ class Frames : public CacheableNode
std::vector<Frame> GetSkeletons() const; std::vector<Frame> GetSkeletons() const;
}; };
}
#endif // FRAMES_HPP_INCLUDED #endif // FRAMES_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class Friend : public Talkable class Friend : public Talkable
{ {
public: public:
@ -14,5 +16,6 @@ class Friend : public Talkable
static Class GetClass(); static Class GetClass();
}; };
}
#endif // FRIEND_HPP_INCLUDED #endif // FRIEND_HPP_INCLUDED

View File

@ -4,6 +4,8 @@
#include "NameableContainer.hpp" #include "NameableContainer.hpp"
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
namespace Internal
{
class FriendList : public NameableContainer class FriendList : public NameableContainer
{ {
public: public:
@ -13,5 +15,6 @@ class FriendList : public NameableContainer
static Class GetClass(); static Class GetClass();
}; };
}
#endif // FRIENDLIST_HPP_INCLUDED #endif // FRIENDLIST_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include <cstdint> #include <cstdint>
#include "Renderable.hpp" #include "Renderable.hpp"
namespace Internal
{
class GameObject : public Object class GameObject : public Object
{ {
public: public:
@ -28,5 +30,6 @@ class GameObject : public Object
std::int32_t GetY() const; std::int32_t GetY() const;
}; };
}
#endif // GAMEOBJECT_HPP_INCLUDED #endif // GAMEOBJECT_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include "../JavaClass/Canvas.hpp" #include "../JavaClass/Canvas.hpp"
namespace Internal
{
class GameShell : public Object class GameShell : public Object
{ {
public: public:
@ -16,5 +18,6 @@ class GameShell : public Object
Canvas GetCanvas() const; Canvas GetCanvas() const;
}; };
}
#endif // GAMESHELL_HPP_INCLUDED #endif // GAMESHELL_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include "Animation.hpp" #include "Animation.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class GraphicsObject : public Renderable class GraphicsObject : public Renderable
{ {
public: public:
@ -24,5 +26,6 @@ class GraphicsObject : public Renderable
std::int32_t GetY() const; std::int32_t GetY() const;
}; };
}
#endif // GRAPHICSOBJECT_HPP_INCLUDED #endif // GRAPHICSOBJECT_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class GroundItem : public Renderable class GroundItem : public Renderable
{ {
public: public:
@ -17,5 +19,6 @@ class GroundItem : public Renderable
std::int32_t GetID() const; std::int32_t GetID() const;
}; };
}
#endif // GROUNDITEM_HPP_INCLUDED #endif // GROUNDITEM_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include <cstdint> #include <cstdint>
#include "Renderable.hpp" #include "Renderable.hpp"
namespace Internal
{
class GroundObject : public Object class GroundObject : public Object
{ {
public: public:
@ -22,5 +24,6 @@ class GroundObject : public Object
std::int32_t GetY() const; std::int32_t GetY() const;
}; };
}
#endif // GROUNDOBJECT_HPP_INCLUDED #endif // GROUNDOBJECT_HPP_INCLUDED

View File

@ -7,6 +7,8 @@
#include "Node.hpp" #include "Node.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class HashTable : public Object class HashTable : public Object
{ {
public: public:
@ -20,5 +22,6 @@ class HashTable : public Object
std::int32_t GetSize() const; std::int32_t GetSize() const;
}; };
}
#endif // HASHTABLE_HPP_INCLUDED #endif // HASHTABLE_HPP_INCLUDED

View File

@ -4,6 +4,8 @@
#include "Nameable.hpp" #include "Nameable.hpp"
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
namespace Internal
{
class Ignore : public Nameable class Ignore : public Nameable
{ {
public: public:
@ -13,5 +15,6 @@ class Ignore : public Nameable
static Class GetClass(); static Class GetClass();
}; };
}
#endif // IGNORE_HPP_INCLUDED #endif // IGNORE_HPP_INCLUDED

View File

@ -4,6 +4,8 @@
#include "NameableContainer.hpp" #include "NameableContainer.hpp"
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
namespace Internal
{
class IgnoreList : public NameableContainer class IgnoreList : public NameableContainer
{ {
public: public:
@ -13,5 +15,6 @@ class IgnoreList : public NameableContainer
static Class GetClass(); static Class GetClass();
}; };
}
#endif // IGNORELIST_HPP_INCLUDED #endif // IGNORELIST_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include <vector> #include <vector>
#include <cstdint> #include <cstdint>
namespace Internal
{
class ItemContainer : public Node class ItemContainer : public Node
{ {
public: public:
@ -18,5 +20,6 @@ class ItemContainer : public Node
std::vector<std::int32_t> GetItemIDs() const; std::vector<std::int32_t> GetItemIDs() const;
}; };
}
#endif // ITEMCONTAINER_HPP_INCLUDED #endif // ITEMCONTAINER_HPP_INCLUDED

View File

@ -7,6 +7,8 @@
#include <string> #include <string>
#include <cstdint> #include <cstdint>
namespace Internal
{
class ItemInfo : public CacheableNode class ItemInfo : public CacheableNode
{ {
public: public:
@ -28,5 +30,6 @@ class ItemInfo : public CacheableNode
std::int32_t GetStackable() const; std::int32_t GetStackable() const;
}; };
}
#endif // ITEMINFO_HPP_INCLUDED #endif // ITEMINFO_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include "Node.hpp" #include "Node.hpp"
namespace Internal
{
class LinkedList : public Object class LinkedList : public Object
{ {
public: public:
@ -17,5 +19,6 @@ class LinkedList : public Object
Node GetTail() const; Node GetTail() const;
}; };
}
#endif // LINKEDLIST_HPP_INCLUDED #endif // LINKEDLIST_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include <cstdint> #include <cstdint>
#include <string> #include <string>
namespace Internal
{
class MessageNode : public CacheableNode class MessageNode : public CacheableNode
{ {
public: public:
@ -22,5 +24,6 @@ class MessageNode : public CacheableNode
std::int32_t GetType() const; std::int32_t GetType() const;
}; };
}
#endif // MESSAGENODE_HPP_INCLUDED #endif // MESSAGENODE_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include <vector> #include <vector>
#include <cstdint> #include <cstdint>
namespace Internal
{
class Model : public Renderable class Model : public Renderable
{ {
public: public:
@ -25,5 +27,6 @@ class Model : public Renderable
std::vector<std::int32_t> GetVerticesZ() const; std::vector<std::int32_t> GetVerticesZ() const;
}; };
}
#endif // MODEL_HPP_INCLUDED #endif // MODEL_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include "NPCInfo.hpp" #include "NPCInfo.hpp"
namespace Internal
{
class NPC : public Character class NPC : public Character
{ {
public: public:
@ -16,5 +18,6 @@ class NPC : public Character
NPCInfo GetInfo() const; NPCInfo GetInfo() const;
}; };
}
#endif // NPC_HPP_INCLUDED #endif // NPC_HPP_INCLUDED

View File

@ -7,6 +7,8 @@
#include <string> #include <string>
#include <cstdint> #include <cstdint>
namespace Internal
{
class NPCInfo : public CacheableNode class NPCInfo : public CacheableNode
{ {
public: public:
@ -29,5 +31,6 @@ class NPCInfo : public CacheableNode
bool GetVisible() const; bool GetVisible() const;
}; };
}
#endif // NPCINFO_HPP_INCLUDED #endif // NPCINFO_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <string> #include <string>
namespace Internal
{
class NamePair : public Object class NamePair : public Object
{ {
public: public:
@ -17,5 +19,6 @@ class NamePair : public Object
std::string GetName() const; std::string GetName() const;
}; };
}
#endif // NAMEPAIR_HPP_INCLUDED #endif // NAMEPAIR_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include "NamePair.hpp" #include "NamePair.hpp"
namespace Internal
{
class Nameable : public Object class Nameable : public Object
{ {
public: public:
@ -16,6 +18,6 @@ class Nameable : public Object
NamePair GetNamePair() const; NamePair GetNamePair() const;
}; };
}
#endif // NAMEABLE_HPP_INCLUDED #endif // NAMEABLE_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include <vector> #include <vector>
#include "Nameable.hpp" #include "Nameable.hpp"
namespace Internal
{
class NameableContainer : public Object class NameableContainer : public Object
{ {
public: public:
@ -18,5 +20,6 @@ class NameableContainer : public Object
std::int32_t GetSize() const; std::int32_t GetSize() const;
}; };
}
#endif // NAMEABLECONTAINER_HPP_INCLUDED #endif // NAMEABLECONTAINER_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class Node : public Object class Node : public Object
{ {
public: public:
@ -18,5 +20,6 @@ class Node : public Object
std::int64_t GetUID() const; std::int64_t GetUID() const;
}; };
}
#endif // NODE_HPP_INCLUDED #endif // NODE_HPP_INCLUDED

View File

@ -7,6 +7,8 @@
#include <string> #include <string>
#include <cstdint> #include <cstdint>
namespace Internal
{
class ObjectInfo : public CacheableNode class ObjectInfo : public CacheableNode
{ {
public: public:
@ -25,5 +27,6 @@ class ObjectInfo : public CacheableNode
std::int32_t GetVarbitID() const; std::int32_t GetVarbitID() const;
}; };
}
#endif // OBJECTINFO_HPP_INCLUDED #endif // OBJECTINFO_HPP_INCLUDED

View File

@ -9,6 +9,8 @@
#include "PlayerInfo.hpp" #include "PlayerInfo.hpp"
#include "NamePair.hpp" #include "NamePair.hpp"
namespace Internal
{
class Player : public Character class Player : public Character
{ {
public: public:
@ -28,5 +30,6 @@ class Player : public Character
std::int32_t GetTotalLevel() const; std::int32_t GetTotalLevel() const;
}; };
}
#endif // PLAYER_HPP_INCLUDED #endif // PLAYER_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include <vector> #include <vector>
#include <cstdint> #include <cstdint>
namespace Internal
{
class PlayerInfo : public Object class PlayerInfo : public Object
{ {
public: public:
@ -21,5 +23,6 @@ class PlayerInfo : public Object
std::int32_t GetNPCModelID() const; std::int32_t GetNPCModelID() const;
}; };
}
#endif // PLAYERINFO_HPP_INCLUDED #endif // PLAYERINFO_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include "FriendList.hpp" #include "FriendList.hpp"
#include "IgnoreList.hpp" #include "IgnoreList.hpp"
namespace Internal
{
class PlayerManager : public Object class PlayerManager : public Object
{ {
public: public:
@ -18,5 +20,6 @@ class PlayerManager : public Object
IgnoreList GetIgnoreList() const; IgnoreList GetIgnoreList() const;
}; };
}
#endif // PLAYERMANAGER_HPP_INCLUDED #endif // PLAYERMANAGER_HPP_INCLUDED

View File

@ -7,6 +7,8 @@
#include <cstdint> #include <cstdint>
#include <string> #include <string>
namespace Internal
{
class Preferences : public Object class Preferences : public Object
{ {
public: public:
@ -23,5 +25,6 @@ class Preferences : public Object
bool GetUsernameHidden() const; bool GetUsernameHidden() const;
}; };
}
#endif // PREFERENCES_HPP_INCLUDED #endif // PREFERENCES_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include "CacheableNode.hpp" #include "CacheableNode.hpp"
namespace Internal
{
class Queue : public Object class Queue : public Object
{ {
public: public:
@ -16,5 +18,6 @@ class Queue : public Object
CacheableNode GetHead() const; CacheableNode GetHead() const;
}; };
}
#endif // QUEUE_HPP_INCLUDED #endif // QUEUE_HPP_INCLUDED

View File

@ -7,6 +7,8 @@
#include "GameObject.hpp" #include "GameObject.hpp"
#include "SceneTile.hpp" #include "SceneTile.hpp"
namespace Internal
{
class Region : public Object class Region : public Object
{ {
public: public:
@ -19,5 +21,6 @@ class Region : public Object
std::vector<std::vector<std::vector<SceneTile>>> GetSceneTiles() const; std::vector<std::vector<std::vector<SceneTile>>> GetSceneTiles() const;
}; };
}
#endif // REGION_HPP_INCLUDED #endif // REGION_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class Renderable : public CacheableNode class Renderable : public CacheableNode
{ {
public: public:
@ -16,5 +18,6 @@ class Renderable : public CacheableNode
std::int32_t GetModelHeight() const; std::int32_t GetModelHeight() const;
}; };
}
#endif // RENDERABLE_HPP_INCLUDED #endif // RENDERABLE_HPP_INCLUDED

View File

@ -10,6 +10,8 @@
#include <cstdint> #include <cstdint>
#include "WallObject.hpp" #include "WallObject.hpp"
namespace Internal
{
class SceneTile : public Node class SceneTile : public Node
{ {
public: public:
@ -27,5 +29,6 @@ class SceneTile : public Node
std::int32_t GetY() const; std::int32_t GetY() const;
}; };
}
#endif // SCENETILE_HPP_INCLUDED #endif // SCENETILE_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class SpotAnimation : public CacheableNode class SpotAnimation : public CacheableNode
{ {
public: public:
@ -20,5 +22,6 @@ class SpotAnimation : public CacheableNode
std::int32_t GetScaleY() const; std::int32_t GetScaleY() const;
}; };
}
#endif // SPOTANIMATION_HPP_INCLUDED #endif // SPOTANIMATION_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include <cstdint> #include <cstdint>
#include <vector> #include <vector>
namespace Internal
{
class Sprite : public Object class Sprite : public Object
{ {
public: public:
@ -19,5 +21,6 @@ class Sprite : public Object
std::int32_t GetWidth() const; std::int32_t GetWidth() const;
}; };
}
#endif // SPRITE_HPP_INCLUDED #endif // SPRITE_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class Talkable : public Nameable class Talkable : public Nameable
{ {
public: public:
@ -17,5 +19,6 @@ class Talkable : public Nameable
std::int32_t GetWorld() const; std::int32_t GetWorld() const;
}; };
}
#endif // TALKABLE_HPP_INCLUDED #endif // TALKABLE_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class Varbit : public CacheableNode class Varbit : public CacheableNode
{ {
public: public:
@ -18,5 +20,6 @@ class Varbit : public CacheableNode
std::int32_t GetSettingID() const; std::int32_t GetSettingID() const;
}; };
}
#endif // VARBIT_HPP_INCLUDED #endif // VARBIT_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include <cstdint> #include <cstdint>
#include "Renderable.hpp" #include "Renderable.hpp"
namespace Internal
{
class WallObject : public Object class WallObject : public Object
{ {
public: public:
@ -24,5 +26,6 @@ class WallObject : public Object
std::int32_t GetY() const; std::int32_t GetY() const;
}; };
}
#endif // WALLOBJECT_HPP_INCLUDED #endif // WALLOBJECT_HPP_INCLUDED

View File

@ -7,6 +7,8 @@
#include <string> #include <string>
#include <cstdint> #include <cstdint>
namespace Internal
{
class Widget : public Node class Widget : public Node
{ {
public: public:
@ -40,5 +42,6 @@ class Widget : public Node
std::int32_t GetWidth() const; std::int32_t GetWidth() const;
}; };
}
#endif // WIDGET_HPP_INCLUDED #endif // WIDGET_HPP_INCLUDED

View File

@ -5,6 +5,8 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <cstdint> #include <cstdint>
namespace Internal
{
class WidgetNode : public Node class WidgetNode : public Node
{ {
public: public:
@ -15,5 +17,6 @@ class WidgetNode : public Node
std::int32_t GetID() const; std::int32_t GetID() const;
}; };
}
#endif // WIDGETNODE_HPP_INCLUDED #endif // WIDGETNODE_HPP_INCLUDED

View File

@ -6,6 +6,8 @@
#include <string> #include <string>
#include <cstdint> #include <cstdint>
namespace Internal
{
class World : public Object class World : public Object
{ {
public: public:
@ -23,5 +25,6 @@ class World : public Object
std::int32_t GetPlayerCount() const; std::int32_t GetPlayerCount() const;
}; };
}
#endif // WORLD_HPP_INCLUDED #endif // WORLD_HPP_INCLUDED

View File

@ -82,6 +82,10 @@
#include "Classes/WidgetNode.hpp" #include "Classes/WidgetNode.hpp"
#include "Classes/World.hpp" #include "Classes/World.hpp"
namespace Internal
{
extern GameShell Client; extern GameShell Client;
Cache GetAnimationCache(); Cache GetAnimationCache();
@ -109,6 +113,7 @@ std::int32_t GetGameTick();
Deque GetGraphicsObjects(); Deque GetGraphicsObjects();
std::vector<std::vector<std::vector<Deque>>> GetGroundItems(); std::vector<std::vector<std::vector<Deque>>> GetGroundItems();
HashTable GetItemContainers(); HashTable GetItemContainers();
Cache GetItemInfoCache();
Cache GetItemModelCache(); Cache GetItemModelCache();
std::int32_t GetItemSelected(); std::int32_t GetItemSelected();
std::int32_t GetItemSelectedIndex(); std::int32_t GetItemSelectedIndex();
@ -142,6 +147,7 @@ AttackOption GetNPCAttackOption();
std::vector<std::int32_t> GetNPCIndices(); std::vector<std::int32_t> GetNPCIndices();
Cache GetNPCModelCache(); Cache GetNPCModelCache();
std::vector<NPC> GetNPCs(); std::vector<NPC> GetNPCs();
Cache GetObjectInfoCache();
std::string GetPassword(); std::string GetPassword();
AttackOption GetPlayerAttackOption(); AttackOption GetPlayerAttackOption();
Cache GetPlayerModelCache(); Cache GetPlayerModelCache();
@ -171,13 +177,15 @@ std::vector<std::int32_t> GetWidgetsX();
std::vector<std::int32_t> GetWidgetsY(); std::vector<std::int32_t> GetWidgetsY();
bool GetWorldSelectOpen(); bool GetWorldSelectOpen();
std::vector<World> GetWorlds(); std::vector<World> GetWorlds();
ItemInfo GetItemInfo(std::int32_t ID); ItemInfo LoadItemInfo(std::int32_t ID);
NPCInfo GetNPCInfo(std::int32_t ID); NPCInfo LoadNPCInfo(std::int32_t ID);
ObjectInfo GetObjectInfo(std::int32_t ID); ObjectInfo LoadObjectInfo(std::int32_t ID);
bool LoadWorlds(); bool LoadWorlds();
void SetWorld(const World& W); void SetWorld(const World& W);
ItemInfo GetItemInfo(std::int32_t ID);
NPCInfo GetNPCInfo(std::int32_t ID);
ObjectInfo GetObjectInfo(std::int32_t ID);
Widget GetWidget(std::int32_t Container, std::int32_t Component); Widget GetWidget(std::int32_t Container, std::int32_t Component);
Widget GetWidgetParent(const Widget& W); Widget GetWidgetParent(const Widget& W);
std::int32_t GetWidgetX(const Widget& W); std::int32_t GetWidgetX(const Widget& W);
@ -219,6 +227,5 @@ Convex GetItemSpriteConvex(const Sprite& S);
std::int32_t GetSettings(std::int32_t ID); std::int32_t GetSettings(std::int32_t ID);
std::int32_t GetVarbitSettings(std::int32_t VarbitSettingIndex); std::int32_t GetVarbitSettings(std::int32_t VarbitSettingIndex);
Point TileToMainscreen(const Tile& T, std::int32_t X, std::int32_t Y, std::int32_t Z); Point TileToMainscreen(const Tile& T, std::int32_t X, std::int32_t Y, std::int32_t Z);
}
#endif // INTERNAL_HPP_INCLUDED #endif // INTERNAL_HPP_INCLUDED

View File

@ -37,6 +37,8 @@
#include "Models/NPCs.hpp" #include "Models/NPCs.hpp"
#include "Models/Players.hpp" #include "Models/Players.hpp"
#include "Interactable/GameObject.hpp"
// //
// DoxyGen // DoxyGen
//======================================================= //=======================================================

View File

@ -0,0 +1,29 @@
#ifndef INTERACTABLEGAMEOBJECT_HPP_INCLUDED
#define INTERACTABLEGAMEOBJECT_HPP_INCLUDED
#include "../../Core/Classes/GameObject.hpp"
#include "../../Core/Classes/ObjectInfo.hpp"
#include "../../Core/Types/Tile.hpp"
#include "../../Core/Types/Point.hpp"
#include "../../Core/Types/Convex.hpp"
#include <cstdint>
namespace Interactable
{
class GameObject : public Internal::GameObject
{
public:
GameObject(const Internal::GameObject& G);
GameObject(const GameObject& G);
std::int32_t GetID() const;
std::string GetName() const;
Tile GetTile() const;
Internal::ObjectInfo GetInfo() const;
std::vector<Point> GetModel() const;
Convex GetConvex() const;
};
}
#endif // INTERACTABLEGAMEOBJECT_HPP_INCLUDED

View File

@ -46,9 +46,9 @@ class Chat
} CHAT_TYPE; } CHAT_TYPE;
static std::vector<MessageNode> GetMessages(CHAT_TYPE Type); static std::vector<Internal::MessageNode> GetMessages(CHAT_TYPE Type);
static std::vector<MessageNode> GetMessages(CHAT_TYPE Type, bool Sort); static std::vector<Internal::MessageNode> GetMessages(CHAT_TYPE Type, bool Sort);
static MessageNode GetLastMessage(CHAT_TYPE Type); static Internal::MessageNode GetLastMessage(CHAT_TYPE Type);
static DIALOGUE_STATE GetDialogueState(); static DIALOGUE_STATE GetDialogueState();
static std::vector<std::string> GetDialogueOptions(); static std::vector<std::string> GetDialogueOptions();

View File

@ -12,8 +12,8 @@ class Clan
public: public:
static bool IsOpen(); static bool IsOpen();
static bool Open(); static bool Open();
static std::vector<ClanMember> GetAll(); static std::vector<Internal::ClanMember> GetAll();
static std::vector<ClanMember> GetAll(const std::function<bool (ClanMember&)>& Filter); static std::vector<Internal::ClanMember> GetAll(const std::function<bool (Internal::ClanMember&)>& Filter);
}; };
/** @} */ /** @} */

View File

@ -12,8 +12,8 @@ class Friends
public: public:
static bool IsOpen(); static bool IsOpen();
static bool Open(); static bool Open();
static std::vector<Friend> GetAll(); static std::vector<Internal::Friend> GetAll();
static std::vector<Friend> GetAll(const std::function<bool (Friend&)>& Filter); static std::vector<Internal::Friend> GetAll(const std::function<bool (Internal::Friend&)>& Filter);
}; };
/** @} */ /** @} */

View File

@ -12,8 +12,8 @@ class Ignores
public: public:
static bool IsOpen(); static bool IsOpen();
static bool Open(); static bool Open();
static std::vector<Ignore> GetAll(); static std::vector<Internal::Ignore> GetAll();
static std::vector<Ignore> GetAll(const std::function<bool (Ignore&)>& Filter); static std::vector<Internal::Ignore> GetAll(const std::function<bool (Internal::Ignore&)>& Filter);
}; };
/** @} */ /** @} */

View File

@ -21,16 +21,16 @@ class Logout
static bool OpenWorldSwitcher(); static bool OpenWorldSwitcher();
static bool OpenWorldSwitcher(bool OpenInventory); static bool OpenWorldSwitcher(bool OpenInventory);
static bool WorldSwitcherScrollTo(World World); static bool WorldSwitcherScrollTo(Internal::World World);
static bool WorldSwitcherScrollTo(std::int32_t WorldID); static bool WorldSwitcherScrollTo(std::int32_t WorldID);
static bool SwitchWorld(World World); static bool SwitchWorld(Internal::World World);
static bool SwitchWorld(std::int32_t WorldID); static bool SwitchWorld(std::int32_t WorldID);
static std::vector<std::int32_t> GetFavoriteWorlds(); static std::vector<std::int32_t> GetFavoriteWorlds();
static Widget GetWorldWidget(World World); static Internal::Widget GetWorldWidget(Internal::World World);
static Widget GetWorldWidget(std::int32_t WorldID); static Internal::Widget GetWorldWidget(std::int32_t WorldID);
}; };
/** @} */ /** @} */

View File

@ -41,7 +41,7 @@ class Login
static bool EnterCredentials(); static bool EnterCredentials();
static bool SelectWorld(); static bool SelectWorld();
static bool SelectWorld(World World); static bool SelectWorld(Internal::World World);
static bool SelectWorld(std::int32_t WorldID); static bool SelectWorld(std::int32_t WorldID);
static bool OpenWorldSelect(); static bool OpenWorldSelect();
static bool OpenWorldSelect(bool Close); static bool OpenWorldSelect(bool Close);

View File

@ -35,11 +35,11 @@ class Mainscreen
static bool WaitIsUpText(std::uint32_t Duration, std::uint32_t Step, const std::string& UpText); static bool WaitIsUpText(std::uint32_t Duration, std::uint32_t Step, const std::string& UpText);
static bool WaitUpTextContains(std::uint32_t Duration, std::uint32_t Step, const std::string& UpText); static bool WaitUpTextContains(std::uint32_t Duration, std::uint32_t Step, const std::string& UpText);
static Character GetInteractingByIndex(std::uint32_t Index); static Internal::Character GetInteractingByIndex(std::uint32_t Index);
static Character GetInteracting(); //Returns the Character interacting with the Local Player static Internal::Character GetInteracting(); //Returns the Character interacting with the Local Player
static Character GetInteractingWith(const Character& C); //Returns the Character interactinng with the Character static Internal::Character GetInteractingWith(const Internal::Character& C); //Returns the Character interactinng with the Character
static bool IsInteracting(const Character& A, const Character& B); // True if A is interacting with B static bool IsInteracting(const Internal::Character& A, const Internal::Character& B); // True if A is interacting with B
static std::int32_t CameraX(); static std::int32_t CameraX();
static std::int32_t CameraY(); static std::int32_t CameraY();

View File

@ -14,23 +14,23 @@
class GroundItems class GroundItems
{ {
public: public:
static std::vector<GroundItem> GetAll(); static std::vector<Internal::GroundItem> GetAll();
static std::vector<GroundItem> GetAll(Tile T); static std::vector<Internal::GroundItem> GetAll(Tile T);
static std::vector<GroundItem> GetAll(std::int32_t ID); static std::vector<Internal::GroundItem> GetAll(std::int32_t ID);
static std::vector<GroundItem> GetAll(const std::string& Name); static std::vector<Internal::GroundItem> GetAll(const std::string& Name);
static std::vector<GroundItem> GetAll(const std::vector<std::int32_t>& IDs); static std::vector<Internal::GroundItem> GetAll(const std::vector<std::int32_t>& IDs);
static std::vector<GroundItem> GetAll(const std::vector<std::string>& Names); static std::vector<Internal::GroundItem> GetAll(const std::vector<std::string>& Names);
static std::vector<GroundItem> GetAll(const std::function<bool (GroundItem&)>& Filter); static std::vector<Internal::GroundItem> GetAll(const std::function<bool (Internal::GroundItem&)>& Filter);
static GroundItem Get(Tile T); static Internal::GroundItem Get(Tile T);
static GroundItem Get(std::int32_t ID); static Internal::GroundItem Get(std::int32_t ID);
static GroundItem Get(const std::string& Name); static Internal::GroundItem Get(const std::string& Name);
static GroundItem Get(const std::vector<std::int32_t>& IDs); static Internal::GroundItem Get(const std::vector<std::int32_t>& IDs);
static GroundItem Get(const std::vector<std::string>& Names); static Internal::GroundItem Get(const std::vector<std::string>& Names);
static Tile GetTileOf(GroundItem G); static Tile GetTileOf(Internal::GroundItem G);
static Convex GetConvexOf(GroundItem G); static Convex GetConvexOf(Internal::GroundItem G);
}; };
/** @} */ /** @} */

View File

@ -15,25 +15,25 @@
class NPCs class NPCs
{ {
public: public:
static std::vector<NPC> GetAll(); static std::vector<Internal::NPC> GetAll();
static std::vector<NPC> GetAll(const Tile& Tile); static std::vector<Internal::NPC> GetAll(const Tile& Tile);
static std::vector<NPC> GetAll(std::int32_t ID); static std::vector<Internal::NPC> GetAll(std::int32_t ID);
static std::vector<NPC> GetAll(const std::string& Name); static std::vector<Internal::NPC> GetAll(const std::string& Name);
static std::vector<NPC> GetAll(const std::vector<std::int32_t>& IDs); static std::vector<Internal::NPC> GetAll(const std::vector<std::int32_t>& IDs);
static std::vector<NPC> GetAll(const std::vector<std::string>& Names); static std::vector<Internal::NPC> GetAll(const std::vector<std::string>& Names);
static std::vector<NPC> GetAll(const std::function<bool (NPC&)>& Filter); static std::vector<Internal::NPC> GetAll(const std::function<bool (Internal::NPC&)>& Filter);
static NPC Get(); static Internal::NPC Get();
static NPC Get(const Tile& Tile); static Internal::NPC Get(const Tile& Tile);
static NPC Get(std::int32_t ID); static Internal::NPC Get(std::int32_t ID);
static NPC Get(const std::string& Name); static Internal::NPC Get(const std::string& Name);
static NPC Get(const std::vector<std::int32_t>& IDs); static Internal::NPC Get(const std::vector<std::int32_t>& IDs);
static NPC Get(const std::vector<std::string>& Names); static Internal::NPC Get(const std::vector<std::string>& Names);
static NPC Get(const std::function<bool (NPC&)>& Filter); static Internal::NPC Get(const std::function<bool (Internal::NPC&)>& Filter);
static Tile GetTileOf(const NPC& NPC); static Tile GetTileOf(const Internal::NPC& NPC);
static Convex GetConvexOf(const NPC& NPC); static Convex GetConvexOf(const Internal::NPC& NPC);
}; };
/** @} */ /** @} */

View File

@ -14,22 +14,22 @@
class Players class Players
{ {
public: public:
static Player GetLocal(); static Internal::Player GetLocal();
static std::vector<Player> GetAll(); static std::vector<Internal::Player> GetAll();
static std::vector<Player> GetAll(const Tile& Tile); static std::vector<Internal::Player> GetAll(const Tile& Tile);
static std::vector<Player> GetAll(const std::string& Name); static std::vector<Internal::Player> GetAll(const std::string& Name);
static std::vector<Player> GetAll(const std::vector<std::string>& Names); static std::vector<Internal::Player> GetAll(const std::vector<std::string>& Names);
static std::vector<Player> GetAll(const std::function<bool (Player&)>& Filter); static std::vector<Internal::Player> GetAll(const std::function<bool (Internal::Player&)>& Filter);
static Player Get(); static Internal::Player Get();
static Player Get(const Tile& Tile); static Internal::Player Get(const Tile& Tile);
static Player Get(const std::string& Name); static Internal::Player Get(const std::string& Name);
static Player Get(const std::vector<std::string>& Names); static Internal::Player Get(const std::vector<std::string>& Names);
static Player Get(const std::function<bool (Player&)>& Filter); static Internal::Player Get(const std::function<bool (Internal::Player&)>& Filter);
static Tile GetTileOf(const Player& P); static Tile GetTileOf(const Internal::Player& P);
static Convex GetConvexOf(const Player& P); static Convex GetConvexOf(const Internal::Player& P);
}; };
/** @} */ /** @} */

View File

@ -36,10 +36,10 @@ class SceneObjects
static std::vector<Object> GetAll(const std::vector<std::int32_t>& PossibleIDs, OBJECT_TYPE ObjectTypes = ALL); static std::vector<Object> GetAll(const std::vector<std::int32_t>& PossibleIDs, OBJECT_TYPE ObjectTypes = ALL);
static std::vector<Object> GetAll(const std::vector<std::string>& PossibleNames, OBJECT_TYPE ObjectTypes = ALL); static std::vector<Object> GetAll(const std::vector<std::string>& PossibleNames, OBJECT_TYPE ObjectTypes = ALL);
static std::vector<GameObject> GetAll(const std::function<bool (GameObject&)>& Filter); static std::vector<Internal::GameObject> GetAll(const std::function<bool (Internal::GameObject&)>& Filter);
static std::vector<DecorativeObject> GetAll(const std::function<bool (DecorativeObject&)>& Filter); static std::vector<Internal::DecorativeObject> GetAll(const std::function<bool (Internal::DecorativeObject&)>& Filter);
static std::vector<GroundObject> GetAll(const std::function<bool (GroundObject&)>& Filter); static std::vector<Internal::GroundObject> GetAll(const std::function<bool (Internal::GroundObject&)>& Filter);
static std::vector<WallObject> GetAll(const std::function<bool (WallObject&)>& Filter); static std::vector<Internal::WallObject> GetAll(const std::function<bool (Internal::WallObject&)>& Filter);
static Object Get(const Tile& T, OBJECT_TYPE ObjectTypes = ALL); static Object Get(const Tile& T, OBJECT_TYPE ObjectTypes = ALL);
static Object Get(std::int32_t ID, OBJECT_TYPE ObjectTypes = ALL); static Object Get(std::int32_t ID, OBJECT_TYPE ObjectTypes = ALL);
@ -47,26 +47,26 @@ class SceneObjects
static Object Get(const std::vector<std::int32_t>& PossibleIDs, OBJECT_TYPE ObjectTypes = ALL); static Object Get(const std::vector<std::int32_t>& PossibleIDs, OBJECT_TYPE ObjectTypes = ALL);
static Object Get(const std::vector<std::string>& PossibleNames, OBJECT_TYPE ObjectTypes = ALL); static Object Get(const std::vector<std::string>& PossibleNames, OBJECT_TYPE ObjectTypes = ALL);
static GameObject Get(const std::function<bool (GameObject&)>& Filter); static Internal::GameObject Get(const std::function<bool (Internal::GameObject&)>& Filter);
static DecorativeObject Get(const std::function<bool (DecorativeObject&)>& Filter); static Internal::DecorativeObject Get(const std::function<bool (Internal::DecorativeObject&)>& Filter);
static GroundObject Get(const std::function<bool (GroundObject&)>& Filter); static Internal::GroundObject Get(const std::function<bool (Internal::GroundObject&)>& Filter);
static WallObject Get(const std::function<bool (WallObject&)>& Filter); static Internal::WallObject Get(const std::function<bool (Internal::WallObject&)>& Filter);
static ObjectInfo GetInfoOf(const Object& O); static Internal::ObjectInfo GetInfoOf(const Object& O);
static ObjectInfo GetInfoOf(const GameObject& G); static Internal::ObjectInfo GetInfoOf(const Internal::GameObject& G);
static ObjectInfo GetInfoOf(const DecorativeObject& D); static Internal::ObjectInfo GetInfoOf(const Internal::DecorativeObject& D);
static ObjectInfo GetInfoOf(const GroundObject& G); static Internal::ObjectInfo GetInfoOf(const Internal::GroundObject& G);
static ObjectInfo GetInfoOf(const WallObject& W); static Internal::ObjectInfo GetInfoOf(const Internal::WallObject& W);
static Tile GetTileOf(const GameObject& G); static Tile GetTileOf(const Internal::GameObject& G);
static Tile GetTileOf(const DecorativeObject& D); static Tile GetTileOf(const Internal::DecorativeObject& D);
static Tile GetTileOf(const GroundObject& G); static Tile GetTileOf(const Internal::GroundObject& G);
static Tile GetTileOf(const WallObject& W); static Tile GetTileOf(const Internal::WallObject& W);
static Convex GetConvexOf(const GameObject& G); static Convex GetConvexOf(const Internal::GameObject& G);
static Convex GetConvexOf(const DecorativeObject& D); static Convex GetConvexOf(const Internal::DecorativeObject& D);
static Convex GetConvexOf(const GroundObject& G); static Convex GetConvexOf(const Internal::GroundObject& G);
static Convex GetConvexOf(const WallObject& W); static Convex GetConvexOf(const Internal::WallObject& W);
}; };
/** @} */ /** @} */

View File

@ -30,37 +30,37 @@ class Interact
static bool Click(Box B, const std::string& Action, const std::string& Target = ""); static bool Click(Box B, const std::string& Action, const std::string& Target = "");
static bool Click(Box B, const std::vector<std::string>& PossibleActions, const std::vector<std::string>& PossibleTargets = {""}); static bool Click(Box B, const std::vector<std::string>& PossibleActions, const std::vector<std::string>& PossibleTargets = {""});
static bool Click(Widget W, Button Button = BUTTON_LEFT); static bool Click(Internal::Widget W, Button Button = BUTTON_LEFT);
static bool Click(Widget W, const std::string& Action, const std::string& Target = ""); static bool Click(Internal::Widget W, const std::string& Action, const std::string& Target = "");
static bool Click(Widget W, const std::vector<std::string>& PossibleActions, const std::vector<std::string>& PossibleTargets = {""}); static bool Click(Internal::Widget W, const std::vector<std::string>& PossibleActions, const std::vector<std::string>& PossibleTargets = {""});
static bool Click(Convex C, Button Button = BUTTON_LEFT); static bool Click(Convex C, Button Button = BUTTON_LEFT);
static bool Click(Convex C, const std::string& Action, const std::string& Target = ""); static bool Click(Convex C, const std::string& Action, const std::string& Target = "");
static bool Click(Convex C, const std::vector<std::string>& PossibleActions, const std::vector<std::string>& PossibleTargets = {""}); static bool Click(Convex C, const std::vector<std::string>& PossibleActions, const std::vector<std::string>& PossibleTargets = {""});
static bool Click(GroundItem G, Button Button = BUTTON_LEFT); static bool Click(Internal::GroundItem G, Button Button = BUTTON_LEFT);
static bool Click(GroundItem G, const std::string& Action); static bool Click(Internal::GroundItem G, const std::string& Action);
static bool Click(GroundItem G, const std::vector<std::string>& PossibleActions); static bool Click(Internal::GroundItem G, const std::vector<std::string>& PossibleActions);
static bool Click(NPC N, Button Button = BUTTON_LEFT); static bool Click(Internal::NPC N, Button Button = BUTTON_LEFT);
static bool Click(NPC N, const std::string& Action); static bool Click(Internal::NPC N, const std::string& Action);
static bool Click(NPC N, const std::vector<std::string>& PossibleActions); static bool Click(Internal::NPC N, const std::vector<std::string>& PossibleActions);
static bool Click(Player P, Button Button = BUTTON_LEFT); static bool Click(Internal::Player P, Button Button = BUTTON_LEFT);
static bool Click(Player P, const std::string& Action); static bool Click(Internal::Player P, const std::string& Action);
static bool Click(Player P, const std::vector<std::string>& PossibleActions); static bool Click(Internal::Player P, const std::vector<std::string>& PossibleActions);
static bool Click(GameObject G, Button Button = BUTTON_LEFT); static bool Click(Internal::GameObject G, Button Button = BUTTON_LEFT);
static bool Click(GameObject G, const std::string& Action); static bool Click(Internal::GameObject G, const std::string& Action);
static bool Click(GameObject G, const std::vector<std::string>& PossibleActions); static bool Click(Internal::GameObject G, const std::vector<std::string>& PossibleActions);
static bool Click(GroundObject G, Button Button = BUTTON_LEFT); static bool Click(Internal::GroundObject G, Button Button = BUTTON_LEFT);
static bool Click(GroundObject G, const std::string& Action); static bool Click(Internal::GroundObject G, const std::string& Action);
static bool Click(GroundObject G, const std::vector<std::string>& PossibleActions); static bool Click(Internal::GroundObject G, const std::vector<std::string>& PossibleActions);
static bool Click(WallObject W, Button Button = BUTTON_LEFT); static bool Click(Internal::WallObject W, Button Button = BUTTON_LEFT);
static bool Click(WallObject W, const std::string& Action); static bool Click(Internal::WallObject W, const std::string& Action);
static bool Click(WallObject W, const std::vector<std::string>& PossibleActions); static bool Click(Internal::WallObject W, const std::vector<std::string>& PossibleActions);
static bool UpKey(std::int32_t Key); static bool UpKey(std::int32_t Key);
static bool DownKey(std::int32_t Key); static bool DownKey(std::int32_t Key);

View File

@ -19,7 +19,7 @@ class Widgets
* bool InventoryHidden = Widgets::IsHidden(Inventory); * bool InventoryHidden = Widgets::IsHidden(Inventory);
* @endcode * @endcode
*/ */
static bool IsHidden(const Widget& W); static bool IsHidden(const Internal::Widget& W);
/** /**
* @brief Returns the Box of the passed Widget * @brief Returns the Box of the passed Widget
* @code * @code
@ -27,7 +27,7 @@ class Widgets
* Box BankInventoryBox = Widgets::GetBox(BankInventory); * Box BankInventoryBox = Widgets::GetBox(BankInventory);
* @endcode * @endcode
*/ */
static Box GetBox(const Widget& W); static Box GetBox(const Internal::Widget& W);
/** /**
* @brief Returns the absolute X of the passed Widget * @brief Returns the absolute X of the passed Widget
* @code * @code
@ -35,7 +35,7 @@ class Widgets
* std::int32_t BankInventoryX = Widgets::GetX(BankInventory); * std::int32_t BankInventoryX = Widgets::GetX(BankInventory);
* @endcode * @endcode
*/ */
static std::int32_t GetX(const Widget& W); static std::int32_t GetX(const Internal::Widget& W);
/** /**
* @brief Returns the absolute Y of the passed Widget * @brief Returns the absolute Y of the passed Widget
* @code * @code
@ -43,34 +43,34 @@ class Widgets
* std::int32_t BankInventoryY = Widgets::GetX(BankInventory); * std::int32_t BankInventoryY = Widgets::GetX(BankInventory);
* @endcode * @endcode
*/ */
static std::int32_t GetY(const Widget& W); static std::int32_t GetY(const Internal::Widget& W);
/** /**
* @brief (Temp) Returns the ItemIDs of the passed Widget * @brief (Temp) Returns the ItemIDs of the passed Widget
* @note Temporary function, this should be used over Widget.GetItemIDs() * @note Temporary function, this should be used over Widget.GetItemIDs()
*/ */
static std::vector<std::int32_t> GetItemIDs(const Widget& W); static std::vector<std::int32_t> GetItemIDs(const Internal::Widget& W);
/** /**
* @brief Returns a vector of All Loaded Widgets * @brief Returns a vector of All Loaded Widgets
* @code std::vector<Widget> Widgets = Widgets::GetAll(); @endcode * @code std::vector<Widget> Widgets = Widgets::GetAll(); @endcode
*/ */
static std::vector<Widget> GetAll(); static std::vector<Internal::Widget> GetAll();
/** /**
* @brief Returns the specified Widget by Parent ID * @brief Returns the specified Widget by Parent ID
* @code Widget BankParent = Widgets::Get(15); @endcode * @code Widget BankParent = Widgets::Get(15); @endcode
*/ */
static Widget Get(std::int32_t Parent); static Internal::Widget Get(std::int32_t Parent);
/** /**
* @brief Returns the specified Widget by Parent, and Child ID * @brief Returns the specified Widget by Parent, and Child ID
* @code Widget BankInventory = Widgets::Get(15, 3); @endcode * @code Widget BankInventory = Widgets::Get(15, 3); @endcode
*/ */
static Widget Get(std::int32_t Parent, std::int32_t Child); static Internal::Widget Get(std::int32_t Parent, std::int32_t Child);
/** /**
* @brief Returns the specified Widget by Parent, and Child, and Grandchild ID * @brief Returns the specified Widget by Parent, and Child, and Grandchild ID
* @code Widget BankCloseButton = Widgets::Get(12, 3, 11); @endcode * @code Widget BankCloseButton = Widgets::Get(12, 3, 11); @endcode
*/ */
static Widget Get(std::int32_t Parent, std::int32_t Child, std::int32_t Grandchild); static Internal::Widget Get(std::int32_t Parent, std::int32_t Child, std::int32_t Grandchild);
/** /**
* @brief Returns a vector of all Widgets that pass the specified Filter @see LibraryFilterLambdas * @brief Returns a vector of all Widgets that pass the specified Filter @see LibraryFilterLambdas
* @code * @code
@ -78,7 +78,7 @@ class Widgets
* std::vector<Widget> Widgets = Widgets::Get(WTextEquals); @endcode * std::vector<Widget> Widgets = Widgets::Get(WTextEquals); @endcode
* Will return all Widgets whose Text equals Enter Amount * Will return all Widgets whose Text equals Enter Amount
*/ */
static std::vector<Widget> Get(const std::function<bool (Widget&)>& Filter); static std::vector<Internal::Widget> Get(const std::function<bool (Internal::Widget&)>& Filter);
}; };

View File

@ -15,23 +15,23 @@ class Worlds
static bool Refresh(); static bool Refresh();
static bool Refresh(bool ExitWorldSelection); static bool Refresh(bool ExitWorldSelection);
static bool SwitchWorld(World World); static bool SwitchWorld(Internal::World World);
static bool SwitchWorld(std::int32_t WorldID); static bool SwitchWorld(std::int32_t WorldID);
static std::int32_t GetCurrent(); static std::int32_t GetCurrent();
static std::vector<World> GetAll(); static std::vector<Internal::World> GetAll();
static std::int32_t GetIndexOf(World World); static std::int32_t GetIndexOf(Internal::World World);
static std::int32_t GetIndexOf(std::int32_t WorldID); static std::int32_t GetIndexOf(std::int32_t WorldID);
static std::vector<World> GetF2P(); static std::vector<Internal::World> GetF2P();
static std::vector<World> GetP2P(); static std::vector<Internal::World> GetP2P();
static bool IsP2P(World World); static bool IsP2P(Internal::World World);
static bool IsP2P(std::int32_t WorldID); static bool IsP2P(std::int32_t WorldID);
static World GetBy(std::int32_t WorldID); static Internal::World GetBy(std::int32_t WorldID);
static std::vector<World> GetBy(const std::function<bool (World&)>& Filter); static std::vector<Internal::World> GetBy(const std::function<bool (Internal::World&)>& Filter);
}; };
/** @} */ /** @} */

Binary file not shown.