diff options
Diffstat (limited to 'CheatEngineServer/CheatEngine.h')
-rw-r--r-- | CheatEngineServer/CheatEngine.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/CheatEngineServer/CheatEngine.h b/CheatEngineServer/CheatEngine.h index d2f4d41..ad75b59 100644 --- a/CheatEngineServer/CheatEngine.h +++ b/CheatEngineServer/CheatEngine.h @@ -1,7 +1,10 @@ #pragma once +#include "KInterface.h" #include <winsock.h> +#include <vector> + #define CE_PORT "52736" #define MSG_WAITALL 0x8 @@ -84,9 +87,11 @@ typedef struct { class CEConnection { public: - explicit CEConnection(SOCKET s) : sock(s) {} - SOCKET getSocket(void) { return sock; } - void closeSocket(void) { closesocket(sock); } + explicit CEConnection(SOCKET s) : m_sock(s) {} + SOCKET getSocket(void) { return m_sock; } + void closeSocket(void) { closesocket(m_sock); } + + std::vector<PROCESS_DATA> m_cachedProcesses; private: - SOCKET sock; + SOCKET m_sock; };
\ No newline at end of file |