Release 1.14
parent
fc3a11208e
commit
ea36f2c258
|
@ -0,0 +1,24 @@
|
||||||
|
#ifndef ABSTRACTBUFFERPROVIDER_HPP_INCLUDED
|
||||||
|
#define ABSTRACTBUFFERPROVIDER_HPP_INCLUDED
|
||||||
|
|
||||||
|
#include "../JavaClass/Object.hpp"
|
||||||
|
#include "../JavaClass/Class.hpp"
|
||||||
|
#include <cstdint>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
namespace Internal
|
||||||
|
{
|
||||||
|
class AbstractBufferProvider : public Object
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
AbstractBufferProvider();
|
||||||
|
AbstractBufferProvider(const void* Obj);
|
||||||
|
AbstractBufferProvider(const AbstractBufferProvider& A);
|
||||||
|
static Class GetClass();
|
||||||
|
|
||||||
|
std::vector<std::int32_t> GetPixels() const;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // ABSTRACTBUFFERPROVIDER_HPP_INCLUDED
|
|
@ -32,6 +32,9 @@ class Debug
|
||||||
|
|
||||||
static void EnableInput();
|
static void EnableInput();
|
||||||
static void DisableInput();
|
static void DisableInput();
|
||||||
|
|
||||||
|
static void Clear();
|
||||||
|
static void Screenshot(const std::string& Path);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include "JavaClass/MouseWheelEvent.hpp"
|
#include "JavaClass/MouseWheelEvent.hpp"
|
||||||
#include "JavaClass/Object.hpp"
|
#include "JavaClass/Object.hpp"
|
||||||
|
|
||||||
|
#include "Classes/AbstractBufferProvider.hpp"
|
||||||
#include "Classes/AbstractByteBuffer.hpp"
|
#include "Classes/AbstractByteBuffer.hpp"
|
||||||
#include "Classes/Animation.hpp"
|
#include "Classes/Animation.hpp"
|
||||||
#include "Classes/AttackOption.hpp"
|
#include "Classes/AttackOption.hpp"
|
||||||
|
@ -104,11 +105,13 @@ namespace Internal
|
||||||
extern GameShell Client;
|
extern GameShell Client;
|
||||||
|
|
||||||
Cache GetAnimationCache();
|
Cache GetAnimationCache();
|
||||||
|
AbstractBufferProvider GetBufferProvider();
|
||||||
std::int32_t GetCameraPitch();
|
std::int32_t GetCameraPitch();
|
||||||
std::int32_t GetCameraX();
|
std::int32_t GetCameraX();
|
||||||
std::int32_t GetCameraY();
|
std::int32_t GetCameraY();
|
||||||
std::int32_t GetCameraYaw();
|
std::int32_t GetCameraYaw();
|
||||||
std::int32_t GetCameraZ();
|
std::int32_t GetCameraZ();
|
||||||
|
std::int16_t GetCameraZoom();
|
||||||
Map GetChatLineCache();
|
Map GetChatLineCache();
|
||||||
Map GetClientFonts();
|
Map GetClientFonts();
|
||||||
std::vector<std::int32_t> GetClientKeyCodes();
|
std::vector<std::int32_t> GetClientKeyCodes();
|
||||||
|
|
|
@ -8,7 +8,8 @@ class Antiban
|
||||||
public:
|
public:
|
||||||
static void LoseClientFocus();
|
static void LoseClientFocus();
|
||||||
static void MouseOffClient(bool LoseFocus = true);
|
static void MouseOffClient(bool LoseFocus = true);
|
||||||
static void SetClientSize(std::uint32_t Width, std::uint32_t Height);
|
static void SetClientSize(std::int32_t Width, std::int32_t Height);
|
||||||
|
static void MaximizeClient();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ANTIBAN_HPP_INCLUDED
|
#endif // ANTIBAN_HPP_INCLUDED
|
||||||
|
|
|
@ -63,6 +63,12 @@ class Camera
|
||||||
* @return the camera pitch
|
* @return the camera pitch
|
||||||
*/
|
*/
|
||||||
static std::int32_t GetPitch();
|
static std::int32_t GetPitch();
|
||||||
|
/**
|
||||||
|
* @brief Returns the camera zoom as a percentage
|
||||||
|
*
|
||||||
|
* @return the camera zoom as a percentage (0.00 - 1.00)
|
||||||
|
*/
|
||||||
|
static double GetZoom();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Rotates the camera to the passed angle/degree
|
* @brief Rotates the camera to the passed angle/degree
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue