Release 0.36

master
Kasi 2018-04-29 13:11:44 +01:00
parent 443fa2277b
commit d4ba58bc57
7 changed files with 56 additions and 33 deletions

View File

@ -10,6 +10,7 @@
class Paint class Paint
{ {
public: public:
static std::uint32_t* GetPixels();
static void Clear(); static void Clear();
static void DrawPoint(const Point& P, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha); static void DrawPoint(const Point& P, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);
static void DrawPoints(const std::vector<Point>& Points, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha); static void DrawPoints(const std::vector<Point>& Points, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha);

View File

@ -33,20 +33,24 @@ typedef struct
std::string ProxyPort; std::string ProxyPort;
std::string ProxyUsername; std::string ProxyUsername;
std::string ProxyPassword; std::string ProxyPassword;
std::int32_t ActionDelayMean; std::int32_t InteractableMean;
float ActionDelayDeviation; float InteractableDeviation;
std::int32_t MoveDelayMean; std::int32_t MoveMean;
float MoveDelayDeviation; float MoveDeviation;
std::int32_t MouseDownDelayMean; std::int32_t MouseDownMean;
float MouseDownDelayDeviation; float MouseDownDeviation;
std::int32_t MouseUpDelayMean; std::int32_t MouseUpMean;
float MouseUpDelayDeviation; float MouseUpDeviation;
std::int32_t KeyDownDelayMean; std::int32_t KeyDownMean;
float KeyDownDelayDeviation; float KeyDownDeviation;
std::int32_t KeyUpDelayMean; std::int32_t KeyUpMean;
float KeyUpDelayDeviation; float KeyUpDeviation;
std::int32_t ScrollDelayMean; std::int32_t ScrollAmount;
float ScrollDelayDeviation; float ScrollAmountDeviation;
std::int32_t ScrollGapMean;
float ScrollGapDeviation;
std::int32_t ScrollMean;
float ScrollDeviation;
float StandardDeviationX; float StandardDeviationX;
float StandardDeviationY; float StandardDeviationY;
float BoxProbabilityX; float BoxProbabilityX;
@ -59,10 +63,15 @@ typedef struct
float MenuProbabilityY; float MenuProbabilityY;
float WidgetProbabilityX; float WidgetProbabilityX;
float WidgetProbabilityY; float WidgetProbabilityY;
float MissFollowUp; float PointGenAccuracy;
float FatigueGain; float FatigueGain;
float FatigueLoss; float FatigueLoss;
float FatigueMax; float FatigueMax;
bool MiniBreakEnabled;
float MiniBreakEvery;
float MiniBreakEveryDeviation;
float MiniBreakFor;
float MiniBreakForDeviation;
bool ShortBreakEnabled; bool ShortBreakEnabled;
float ShortBreakEvery; float ShortBreakEvery;
float ShortBreakEveryDeviation; float ShortBreakEveryDeviation;

View File

@ -72,7 +72,7 @@ class Area : public Convex
* @see @ref HybridRandomDocs * @see @ref HybridRandomDocs
* @see @ref MissChanceFollowupDocs * @see @ref MissChanceFollowupDocs
*/ */
Tile GetHybridRandomTile(double ProbabilityX, double ProbabilityY, double StandardDeviationX, double StandardDeviationY, bool CheckMissFollowupChance = true) const; Tile GetHybridRandomTile(double ProbabilityX, double ProbabilityY, double StandardDeviationX, double StandardDeviationY, bool CheckPointGenAccuracyChance = true) const;
friend std::ostream& operator<<(std::ostream& OS, const Area& A); friend std::ostream& operator<<(std::ostream& OS, const Area& A);

View File

@ -84,7 +84,7 @@ class Box
* @see @ref HybridRandomDocs * @see @ref HybridRandomDocs
* @see @ref MissChanceFollowupDocs * @see @ref MissChanceFollowupDocs
*/ */
Point GetHybridRandomPoint(double ProbabilityX, double ProbabilityY, double StandardDeviationX, double StandardDeviationY, bool CheckMissFollowupChance = true) const; Point GetHybridRandomPoint(double ProbabilityX, double ProbabilityY, double StandardDeviationX, double StandardDeviationY, bool CheckPointGenAccuracyChance = true) const;
/** /**
* @brief Returns True if the Box contains a Point * @brief Returns True if the Box contains a Point

View File

@ -51,7 +51,7 @@ class Convex
* @see @ref HybridRandomDocs * @see @ref HybridRandomDocs
* @see @ref MissChanceFollowupDocs * @see @ref MissChanceFollowupDocs
*/ */
Point GetHybridRandomPoint(double ProbabilityX, double ProbabilityY, double StandardDeviationX, double StandardDeviationY, bool CheckMissFollowupChance = true) const; Point GetHybridRandomPoint(double ProbabilityX, double ProbabilityY, double StandardDeviationX, double StandardDeviationY, bool CheckPointGenAccuracyChance = true) const;
Convex operator+(const Point& P) const; Convex operator+(const Point& P) const;
Convex operator-(const Point& P) const; Convex operator-(const Point& P) const;

View File

@ -10,6 +10,8 @@
class Profile class Profile
{ {
public: public:
static std::string GetUsername(); static std::string GetUsername();
static std::string GetPassword(); static std::string GetPassword();
static std::string GetBankPin(); static std::string GetBankPin();
@ -18,26 +20,30 @@ class Profile
static bool GetIsMember(); static bool GetIsMember();
static bool GetHasPin(); static bool GetHasPin();
static std::int32_t GetActionDelayMean(); static std::int32_t GetInteractableMean();
static double GetActionDelayDeviation(); static double GetInteractableDeviation();
static std::int32_t GetMoveDelayMean(); static std::int32_t GetMoveMean();
static double GetMoveDelayDeviation(); static double GetMoveDeviation();
static std::int32_t GetMouseDownDelayMean(); static std::int32_t GetMouseDownMean();
static double GetMouseDownDelayDeviation(); static double GetMouseDownDeviation();
static std::int32_t GetMouseUpDelayMean(); static std::int32_t GetMouseUpMean();
static double GetMouseUpDelayDeviation(); static double GetMouseUpDeviation();
static std::int32_t GetKeyDownDelayMean(); static std::int32_t GetKeyDownMean();
static double GetKeyDownDelayDeviation(); static double GetKeyDownDeviation();
static std::int32_t GetKeyUpDelayMean(); static std::int32_t GetKeyUpMean();
static double GetKeyUpDelayDeviation(); static double GetKeyUpDeviation();
static std::int32_t GetScrollDelayMean(); static std::int32_t GetScrollAmount();
static double GetScrollDelayDeviation(); static double GetScrollAmountDeviation();
static std::int32_t GetScrollGapMean();
static double GetScrollGapDeviation();
static std::int32_t GetScrollMean();
static double GetScrollDeviation();
static double GetStandardDeviationX(); static double GetStandardDeviationX();
static double GetStandardDeviationY(); static double GetStandardDeviationY();
@ -57,13 +63,19 @@ class Profile
static double GetWidgetProbabilityX(); static double GetWidgetProbabilityX();
static double GetWidgetProbabilityY(); static double GetWidgetProbabilityY();
static double GetMissFollowUp(); static double GetPointGenAccuracy();
static double GetFatigue(); static double GetFatigue();
static double GetFatigueGain(); static double GetFatigueGain();
static double GetFatigueLoss(); static double GetFatigueLoss();
static double GetFatigueMax(); static double GetFatigueMax();
static bool GetMiniBreakEnabled();
static double GetMiniBreakEvery();
static double GetMiniBreakEveryDeviation();
static double GetMiniBreakFor();
static double GetMiniBreakForDeviation();
static bool GetShortBreakEnabled(); static bool GetShortBreakEnabled();
static double GetShortBreakEvery(); static double GetShortBreakEvery();
static double GetShortBreakEveryDeviation(); static double GetShortBreakEveryDeviation();
@ -81,6 +93,7 @@ class Profile
static std::string GetProxyPort(); static std::string GetProxyPort();
static std::string GetProxyUsername(); static std::string GetProxyUsername();
static std::string GetProxyPassword(); static std::string GetProxyPassword();
}; };
/** @} */ /** @} */

Binary file not shown.