dailydose

Include/Trainer.h

Jul 30th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #pragma once
  2. #ifndef TRAINER_H
  3. #define TRAINER_H
  4.  
  5. #include <Game.h>
  6.  
  7. class Trainer
  8. {
  9. public:
  10.     Trainer();
  11.     ~Trainer();
  12.  
  13.     bool ChooseConfig();
  14.     void Start();
  15.     static bool TrainerIsRun();
  16.     static BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam);
  17.     bool GameIsRun();
  18.  
  19. private:
  20.     enum Msg { MSG_WAIT_FOR_START, MSG_HOTKEYS };
  21.     enum Sound { SOUND_OFF, SOUND_ON, SOUND_MONEY, SOUND_EXPERIENCE };
  22.  
  23.     bool bGodMode, bNoReload;
  24.     LPSTR sound[4];
  25.     static HWND wnd;
  26.     Game* game;
  27.     Config* cfg;
  28.  
  29.     bool PrintCheatTables(char* szPath);
  30.     void CheckXml();
  31.     void SetAmountValues(Config::amount& data, std::string type);
  32.     void CheckHotKeys();
  33.     void PrintMsg(Msg type);
  34.     inline std::string GetAmount(Config::entrys& entry, Config::amount& amount);
  35.     bool GameOnFocus();
  36.     inline void Speech(Sound type);
  37.     static DWORD GetProcessIdByName(std::string processName);
  38.     LPSTR GetResource(int resourceId);
  39. };
  40.  
  41. #endif
Add Comment
Please, Sign In to add comment