aboutsummaryrefslogtreecommitdiff
path: root/source2-basehook/Hooks/LevelInit.hpp
diff options
context:
space:
mode:
authorjz0 <[email protected]>2020-05-03 22:38:59 +0300
committerjz0 <[email protected]>2020-05-03 22:38:59 +0300
commitfdb81a898151278a66af544dfae6bfcbbf9dc3d2 (patch)
tree8884fc5c21b3daf0a32cc145c4488b9e708deec4 /source2-basehook/Hooks/LevelInit.hpp
downloadarchived-source2-basehook-fdb81a898151278a66af544dfae6bfcbbf9dc3d2.tar.xz
archived-source2-basehook-fdb81a898151278a66af544dfae6bfcbbf9dc3d2.zip
Initial commit
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);