Skip to content

Commit e8961be

Browse files
committed
🚚 Move Hook to hook
1 parent 255f294 commit e8961be

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Internal/cheat/Hook.h renamed to Internal/hook/Hook.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
#include <format>
44
#include "Features.h"
55

6-
class Hook {
7-
public:
6+
namespace Hook {
87
HHOOK g_hook;
98

109
Features* features = new Features();
@@ -17,11 +16,9 @@ class Hook {
1716
void (*OriginalProcessEvent)(UObject*, UObject*, void* params) = nullptr;
1817
int ProcessEventIndex = 68;
1918

20-
Hook() {
19+
bool Init() {
2120
Logger::CreateConsole();
22-
};
2321

24-
bool Init() {
2522
if (!EngineInit()) {
2623
Logger::Log("ERROR", "No engine init");
2724
return FALSE;

0 commit comments

Comments
 (0)