aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/sourceinterface.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-18 17:02:39 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-18 17:02:39 +0100
commita71d52ffd1531a4a03cb4c87dc56ace4f5cb33c1 (patch)
treed3cc5fcde9df08ff131a2216a44c73dee65fdc1f /NorthstarDedicatedTest/sourceinterface.cpp
parentca5db71e8215a6c5660fe03088a6d7349f55f817 (diff)
downloadNorthstarLauncher-a71d52ffd1531a4a03cb4c87dc56ace4f5cb33c1.tar.gz
NorthstarLauncher-a71d52ffd1531a4a03cb4c87dc56ace4f5cb33c1.zip
add rapidjson, move all logging to spdlog
Diffstat (limited to 'NorthstarDedicatedTest/sourceinterface.cpp')
-rw-r--r--NorthstarDedicatedTest/sourceinterface.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/sourceinterface.cpp b/NorthstarDedicatedTest/sourceinterface.cpp
index cedfad3c..bdcc4a3c 100644
--- a/NorthstarDedicatedTest/sourceinterface.cpp
+++ b/NorthstarDedicatedTest/sourceinterface.cpp
@@ -15,7 +15,7 @@ void* ClientCreateInterfaceHook(const char* pName, int* pReturnCode)
{
void* ret = clientCreateInterfaceOriginal(pName, pReturnCode);
- std::cout << "CreateInterface CLIENT " << pName << std::endl;
+ spdlog::info("CreateInterface CLIENT {}", pName);
if (!strcmp(pName, "GameClientExports001"))
InitialiseConsoleOnInterfaceCreation();
@@ -63,6 +63,8 @@ void HookEngineCreateInterface(HMODULE baseAddress)
void InitialiseInterfaceCreationHooks()
{
AddDllLoadCallback("client.dll", HookClientCreateInterface);
- AddDllLoadCallback("server.dll", HookServerCreateInterface);
- AddDllLoadCallback("engine.dll", HookEngineCreateInterface);
+
+ // not used atm
+ //AddDllLoadCallback("server.dll", HookServerCreateInterface);
+ //AddDllLoadCallback("engine.dll", HookEngineCreateInterface);
} \ No newline at end of file