2016-02-29 08:47:21 -05:00
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class AntiCheat : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
AntiCheat();
|
|
|
|
~AntiCheat();
|
|
|
|
const char* GetName() { return "Component"; }; // Wrong name :P
|
|
|
|
|
|
|
|
static void CrashClient();
|
|
|
|
static void EmptyHash();
|
|
|
|
|
2016-03-07 16:52:53 -05:00
|
|
|
static void InitLoadLibHook();
|
|
|
|
|
2016-02-29 08:47:21 -05:00
|
|
|
private:
|
2016-02-29 11:30:04 -05:00
|
|
|
static int LastCheck;
|
2016-02-29 08:47:21 -05:00
|
|
|
static std::string Hash;
|
|
|
|
|
|
|
|
static void Frame();
|
2016-02-29 14:38:14 -05:00
|
|
|
static void PerformCheck();
|
2016-03-01 07:37:51 -05:00
|
|
|
static void PatchWinAPI();
|
2016-02-29 14:38:14 -05:00
|
|
|
|
|
|
|
static void NullSub();
|
2016-03-07 16:52:53 -05:00
|
|
|
|
|
|
|
static Utils::Hook LoadLibHook[4];
|
2016-02-29 08:47:21 -05:00
|
|
|
};
|
|
|
|
}
|