From fdb81a898151278a66af544dfae6bfcbbf9dc3d2 Mon Sep 17 00:00:00 2001 From: jz0 Date: Sun, 3 May 2020 22:38:59 +0300 Subject: Initial commit --- source2-basehook/Base.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 source2-basehook/Base.hpp (limited to 'source2-basehook/Base.hpp') diff --git a/source2-basehook/Base.hpp b/source2-basehook/Base.hpp new file mode 100644 index 0000000..1190afd --- /dev/null +++ b/source2-basehook/Base.hpp @@ -0,0 +1,14 @@ +#pragma once +#include "Include.hpp" + +namespace Base +{ + typedef void* (*CreateInterfaceFn)(const char* pName, int* pReturnCode); + template + Template* GetInterface(const std::string ModuleName, const std::string InterfaceName); + void InitInterfaces(); + void InitHooks(); +} + + + -- cgit v1.2.3