diff options
author | Tom Barham <me@cpdt.dev> | 2022-02-22 08:33:53 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 19:33:53 -0300 |
commit | 8c9f34283f8670dda98959d0785d682e6f652a93 (patch) | |
tree | 5e9d8c10fb5d1df2816fac43e4db3b80cc7f93a0 /NorthstarDedicatedTest/dllmain.cpp | |
parent | ae9df9bc734c6c0364028c71db5e7236e7c344dd (diff) | |
download | NorthstarLauncher-8c9f34283f8670dda98959d0785d682e6f652a93.tar.gz NorthstarLauncher-8c9f34283f8670dda98959d0785d682e6f652a93.zip |
Advanced chat: custom messages and client hooks (#74)
Co-authored-by: Emma Miler <27428383+emma-miler@users.noreply.github.com>
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r-- | NorthstarDedicatedTest/dllmain.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp index 4cc0a84d..dcff9f4a 100644 --- a/NorthstarDedicatedTest/dllmain.cpp +++ b/NorthstarDedicatedTest/dllmain.cpp @@ -34,6 +34,9 @@ #include "audio.h" #include "buildainfile.h" #include "configurables.h" +#include "serverchathooks.h" +#include "clientchathooks.h" +#include "localchatwriter.h" #include <string.h> #include "pch.h" @@ -120,13 +123,14 @@ bool InitialiseNorthstar() AddDllLoadCallback("client.dll", InitialiseScriptMainMenuPromos); AddDllLoadCallback("client.dll", InitialiseMiscClientFixes); AddDllLoadCallback("client.dll", InitialiseClientPrintHooks); + AddDllLoadCallback("client.dll", InitialiseClientChatHooks); + AddDllLoadCallback("client.dll", InitialiseLocalChatWriter); } AddDllLoadCallback("engine.dll", InitialiseEngineSpewFuncHooks); AddDllLoadCallback("server.dll", InitialiseServerSquirrel); AddDllLoadCallback("engine.dll", InitialiseBanSystem); AddDllLoadCallback("engine.dll", InitialiseServerAuthentication); - AddDllLoadCallback("server.dll", InitialiseServerAuthenticationServerDLL); AddDllLoadCallback("engine.dll", InitialiseSharedMasterServer); AddDllLoadCallback("server.dll", InitialiseMiscServerScriptCommand); AddDllLoadCallback("server.dll", InitialiseMiscServerFixes); @@ -138,6 +142,9 @@ bool InitialiseNorthstar() AddDllLoadCallback("engine.dll", InitialiseEngineRpakFilesystem); AddDllLoadCallback("engine.dll", InitialiseKeyValues); + AddDllLoadCallback("engine.dll", InitialiseServerChatHooks_Engine); + AddDllLoadCallback("server.dll", InitialiseServerChatHooks_Server); + // maxplayers increase AddDllLoadCallback("engine.dll", InitialiseMaxPlayersOverride_Engine); AddDllLoadCallback("client.dll", InitialiseMaxPlayersOverride_Client); |