aboutsummaryrefslogtreecommitdiff
path: root/source2-basehook/Hooks/LevelInit.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source2-basehook/Hooks/LevelInit.hpp')
-rw-r--r--source2-basehook/Hooks/LevelInit.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/source2-basehook/Hooks/LevelInit.hpp b/source2-basehook/Hooks/LevelInit.hpp
new file mode 100644
index 0000000..1682890
--- /dev/null
+++ b/source2-basehook/Hooks/LevelInit.hpp
@@ -0,0 +1,8 @@
+#pragma once
+#include "../Include.hpp"
+#include "../Source2SDK/CEngineClient.hpp"
+
+typedef void(__fastcall* oLevelInit)(IClientModeShared*, const char*);
+extern oLevelInit OriginalLevelInit;
+
+void __fastcall hkLevelInit(IClientModeShared* thisptr, const char* newmap);