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 <cstdint>
namespace Internal
{
class Animation : public CacheableNode
{
public:
@ -20,5 +22,6 @@ class Animation : public CacheableNode
std::int32_t GetRightHandItem() const;
};
}
#endif // ANIMATION_HPP_INCLUDED

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -37,6 +37,8 @@
#include "Models/NPCs.hpp"
#include "Models/Players.hpp"
#include "Interactable/GameObject.hpp"
//
// 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;
static std::vector<MessageNode> GetMessages(CHAT_TYPE Type);
static std::vector<MessageNode> GetMessages(CHAT_TYPE Type, bool Sort);
static MessageNode GetLastMessage(CHAT_TYPE Type);
static std::vector<Internal::MessageNode> GetMessages(CHAT_TYPE Type);
static std::vector<Internal::MessageNode> GetMessages(CHAT_TYPE Type, bool Sort);
static Internal::MessageNode GetLastMessage(CHAT_TYPE Type);
static DIALOGUE_STATE GetDialogueState();
static std::vector<std::string> GetDialogueOptions();

View File

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

View File

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

View File

@ -12,8 +12,8 @@ class Ignores
public:
static bool IsOpen();
static bool Open();
static std::vector<Ignore> GetAll();
static std::vector<Ignore> GetAll(const std::function<bool (Ignore&)>& Filter);
static std::vector<Internal::Ignore> GetAll();
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(bool OpenInventory);
static bool WorldSwitcherScrollTo(World World);
static bool WorldSwitcherScrollTo(Internal::World World);
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 std::vector<std::int32_t> GetFavoriteWorlds();
static Widget GetWorldWidget(World World);
static Widget GetWorldWidget(std::int32_t WorldID);
static Internal::Widget GetWorldWidget(Internal::World World);
static Internal::Widget GetWorldWidget(std::int32_t WorldID);
};
/** @} */

View File

@ -41,7 +41,7 @@ class Login
static bool EnterCredentials();
static bool SelectWorld();
static bool SelectWorld(World World);
static bool SelectWorld(Internal::World World);
static bool SelectWorld(std::int32_t WorldID);
static bool OpenWorldSelect();
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 WaitUpTextContains(std::uint32_t Duration, std::uint32_t Step, const std::string& UpText);
static Character GetInteractingByIndex(std::uint32_t Index);
static 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 GetInteractingByIndex(std::uint32_t Index);
static Internal::Character GetInteracting(); //Returns the Character interacting with the Local Player
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 CameraY();

View File

@ -14,23 +14,23 @@
class GroundItems
{
public:
static std::vector<GroundItem> GetAll();
static std::vector<GroundItem> GetAll(Tile T);
static std::vector<GroundItem> GetAll(std::int32_t ID);
static std::vector<GroundItem> GetAll(const std::string& Name);
static std::vector<GroundItem> GetAll(const std::vector<std::int32_t>& IDs);
static std::vector<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();
static std::vector<Internal::GroundItem> GetAll(Tile T);
static std::vector<Internal::GroundItem> GetAll(std::int32_t ID);
static std::vector<Internal::GroundItem> GetAll(const std::string& Name);
static std::vector<Internal::GroundItem> GetAll(const std::vector<std::int32_t>& IDs);
static std::vector<Internal::GroundItem> GetAll(const std::vector<std::string>& Names);
static std::vector<Internal::GroundItem> GetAll(const std::function<bool (Internal::GroundItem&)>& Filter);
static GroundItem Get(Tile T);
static GroundItem Get(std::int32_t ID);
static GroundItem Get(const std::string& Name);
static GroundItem Get(const std::vector<std::int32_t>& IDs);
static GroundItem Get(const std::vector<std::string>& Names);
static Internal::GroundItem Get(Tile T);
static Internal::GroundItem Get(std::int32_t ID);
static Internal::GroundItem Get(const std::string& Name);
static Internal::GroundItem Get(const std::vector<std::int32_t>& IDs);
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
{
public:
static std::vector<NPC> GetAll();
static std::vector<NPC> GetAll(const Tile& Tile);
static std::vector<NPC> GetAll(std::int32_t ID);
static std::vector<NPC> GetAll(const std::string& Name);
static std::vector<NPC> GetAll(const std::vector<std::int32_t>& IDs);
static std::vector<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();
static std::vector<Internal::NPC> GetAll(const Tile& Tile);
static std::vector<Internal::NPC> GetAll(std::int32_t ID);
static std::vector<Internal::NPC> GetAll(const std::string& Name);
static std::vector<Internal::NPC> GetAll(const std::vector<std::int32_t>& IDs);
static std::vector<Internal::NPC> GetAll(const std::vector<std::string>& Names);
static std::vector<Internal::NPC> GetAll(const std::function<bool (Internal::NPC&)>& Filter);
static NPC Get();
static NPC Get(const Tile& Tile);
static NPC Get(std::int32_t ID);
static NPC Get(const std::string& Name);
static NPC Get(const std::vector<std::int32_t>& IDs);
static NPC Get(const std::vector<std::string>& Names);
static NPC Get(const std::function<bool (NPC&)>& Filter);
static Internal::NPC Get();
static Internal::NPC Get(const Tile& Tile);
static Internal::NPC Get(std::int32_t ID);
static Internal::NPC Get(const std::string& Name);
static Internal::NPC Get(const std::vector<std::int32_t>& IDs);
static Internal::NPC Get(const std::vector<std::string>& Names);
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
{
public:
static Player GetLocal();
static std::vector<Player> GetAll();
static std::vector<Player> GetAll(const Tile& Tile);
static std::vector<Player> GetAll(const std::string& Name);
static std::vector<Player> GetAll(const std::vector<std::string>& Names);
static std::vector<Player> GetAll(const std::function<bool (Player&)>& Filter);
static Internal::Player GetLocal();
static std::vector<Internal::Player> GetAll();
static std::vector<Internal::Player> GetAll(const Tile& Tile);
static std::vector<Internal::Player> GetAll(const std::string& Name);
static std::vector<Internal::Player> GetAll(const std::vector<std::string>& Names);
static std::vector<Internal::Player> GetAll(const std::function<bool (Internal::Player&)>& Filter);
static Player Get();
static Player Get(const Tile& Tile);
static Player Get(const std::string& Name);
static Player Get(const std::vector<std::string>& Names);
static Player Get(const std::function<bool (Player&)>& Filter);
static Internal::Player Get();
static Internal::Player Get(const Tile& Tile);
static Internal::Player Get(const std::string& Name);
static Internal::Player Get(const std::vector<std::string>& Names);
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::string>& PossibleNames, OBJECT_TYPE ObjectTypes = ALL);
static std::vector<GameObject> GetAll(const std::function<bool (GameObject&)>& Filter);
static std::vector<DecorativeObject> GetAll(const std::function<bool (DecorativeObject&)>& Filter);
static std::vector<GroundObject> GetAll(const std::function<bool (GroundObject&)>& Filter);
static std::vector<WallObject> GetAll(const std::function<bool (WallObject&)>& Filter);
static std::vector<Internal::GameObject> GetAll(const std::function<bool (Internal::GameObject&)>& Filter);
static std::vector<Internal::DecorativeObject> GetAll(const std::function<bool (Internal::DecorativeObject&)>& Filter);
static std::vector<Internal::GroundObject> GetAll(const std::function<bool (Internal::GroundObject&)>& 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(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::string>& PossibleNames, OBJECT_TYPE ObjectTypes = ALL);
static GameObject Get(const std::function<bool (GameObject&)>& Filter);
static DecorativeObject Get(const std::function<bool (DecorativeObject&)>& Filter);
static GroundObject Get(const std::function<bool (GroundObject&)>& Filter);
static WallObject Get(const std::function<bool (WallObject&)>& Filter);
static Internal::GameObject Get(const std::function<bool (Internal::GameObject&)>& Filter);
static Internal::DecorativeObject Get(const std::function<bool (Internal::DecorativeObject&)>& Filter);
static Internal::GroundObject Get(const std::function<bool (Internal::GroundObject&)>& Filter);
static Internal::WallObject Get(const std::function<bool (Internal::WallObject&)>& Filter);
static ObjectInfo GetInfoOf(const Object& O);
static ObjectInfo GetInfoOf(const GameObject& G);
static ObjectInfo GetInfoOf(const DecorativeObject& D);
static ObjectInfo GetInfoOf(const GroundObject& G);
static ObjectInfo GetInfoOf(const WallObject& W);
static Internal::ObjectInfo GetInfoOf(const Object& O);
static Internal::ObjectInfo GetInfoOf(const Internal::GameObject& G);
static Internal::ObjectInfo GetInfoOf(const Internal::DecorativeObject& D);
static Internal::ObjectInfo GetInfoOf(const Internal::GroundObject& G);
static Internal::ObjectInfo GetInfoOf(const Internal::WallObject& W);
static Tile GetTileOf(const GameObject& G);
static Tile GetTileOf(const DecorativeObject& D);
static Tile GetTileOf(const GroundObject& G);
static Tile GetTileOf(const WallObject& W);
static Tile GetTileOf(const Internal::GameObject& G);
static Tile GetTileOf(const Internal::DecorativeObject& D);
static Tile GetTileOf(const Internal::GroundObject& G);
static Tile GetTileOf(const Internal::WallObject& W);
static Convex GetConvexOf(const GameObject& G);
static Convex GetConvexOf(const DecorativeObject& D);
static Convex GetConvexOf(const GroundObject& G);
static Convex GetConvexOf(const WallObject& W);
static Convex GetConvexOf(const Internal::GameObject& G);
static Convex GetConvexOf(const Internal::DecorativeObject& D);
static Convex GetConvexOf(const Internal::GroundObject& G);
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::vector<std::string>& PossibleActions, const std::vector<std::string>& PossibleTargets = {""});
static bool Click(Widget W, Button Button = BUTTON_LEFT);
static bool Click(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, Button Button = BUTTON_LEFT);
static bool Click(Internal::Widget W, const std::string& Action, const std::string& Target = "");
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, 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(GroundItem G, Button Button = BUTTON_LEFT);
static bool Click(GroundItem G, const std::string& Action);
static bool Click(GroundItem G, const std::vector<std::string>& PossibleActions);
static bool Click(Internal::GroundItem G, Button Button = BUTTON_LEFT);
static bool Click(Internal::GroundItem G, const std::string& Action);
static bool Click(Internal::GroundItem G, const std::vector<std::string>& PossibleActions);
static bool Click(NPC N, Button Button = BUTTON_LEFT);
static bool Click(NPC N, const std::string& Action);
static bool Click(NPC N, const std::vector<std::string>& PossibleActions);
static bool Click(Internal::NPC N, Button Button = BUTTON_LEFT);
static bool Click(Internal::NPC N, const std::string& Action);
static bool Click(Internal::NPC N, const std::vector<std::string>& PossibleActions);
static bool Click(Player P, Button Button = BUTTON_LEFT);
static bool Click(Player P, const std::string& Action);
static bool Click(Player P, const std::vector<std::string>& PossibleActions);
static bool Click(Internal::Player P, Button Button = BUTTON_LEFT);
static bool Click(Internal::Player P, const std::string& Action);
static bool Click(Internal::Player P, const std::vector<std::string>& PossibleActions);
static bool Click(GameObject G, Button Button = BUTTON_LEFT);
static bool Click(GameObject G, const std::string& Action);
static bool Click(GameObject G, const std::vector<std::string>& PossibleActions);
static bool Click(Internal::GameObject G, Button Button = BUTTON_LEFT);
static bool Click(Internal::GameObject G, const std::string& Action);
static bool Click(Internal::GameObject G, const std::vector<std::string>& PossibleActions);
static bool Click(GroundObject G, Button Button = BUTTON_LEFT);
static bool Click(GroundObject G, const std::string& Action);
static bool Click(GroundObject G, const std::vector<std::string>& PossibleActions);
static bool Click(Internal::GroundObject G, Button Button = BUTTON_LEFT);
static bool Click(Internal::GroundObject G, const std::string& Action);
static bool Click(Internal::GroundObject G, const std::vector<std::string>& PossibleActions);
static bool Click(WallObject W, Button Button = BUTTON_LEFT);
static bool Click(WallObject W, const std::string& Action);
static bool Click(WallObject W, const std::vector<std::string>& PossibleActions);
static bool Click(Internal::WallObject W, Button Button = BUTTON_LEFT);
static bool Click(Internal::WallObject W, const std::string& Action);
static bool Click(Internal::WallObject W, const std::vector<std::string>& PossibleActions);
static bool UpKey(std::int32_t Key);
static bool DownKey(std::int32_t Key);

View File

@ -19,7 +19,7 @@ class Widgets
* bool InventoryHidden = Widgets::IsHidden(Inventory);
* @endcode
*/
static bool IsHidden(const Widget& W);
static bool IsHidden(const Internal::Widget& W);
/**
* @brief Returns the Box of the passed Widget
* @code
@ -27,7 +27,7 @@ class Widgets
* Box BankInventoryBox = Widgets::GetBox(BankInventory);
* @endcode
*/
static Box GetBox(const Widget& W);
static Box GetBox(const Internal::Widget& W);
/**
* @brief Returns the absolute X of the passed Widget
* @code
@ -35,7 +35,7 @@ class Widgets
* std::int32_t BankInventoryX = Widgets::GetX(BankInventory);
* @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
* @code
@ -43,34 +43,34 @@ class Widgets
* std::int32_t BankInventoryY = Widgets::GetX(BankInventory);
* @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
* @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
* @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
* @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
* @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
* @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
* @code
@ -78,7 +78,7 @@ class Widgets
* std::vector<Widget> Widgets = Widgets::Get(WTextEquals); @endcode
* 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(bool ExitWorldSelection);
static bool SwitchWorld(World World);
static bool SwitchWorld(Internal::World World);
static bool SwitchWorld(std::int32_t WorldID);
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::vector<World> GetF2P();
static std::vector<World> GetP2P();
static std::vector<Internal::World> GetF2P();
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 World GetBy(std::int32_t WorldID);
static std::vector<World> GetBy(const std::function<bool (World&)>& Filter);
static Internal::World GetBy(std::int32_t WorldID);
static std::vector<Internal::World> GetBy(const std::function<bool (Internal::World&)>& Filter);
};
/** @} */

Binary file not shown.