From 5a480af7d3a51d0c6fface4097fbe7261e62f803 Mon Sep 17 00:00:00 2001 From: Barichello Date: Tue, 15 Feb 2022 00:50:15 -0300 Subject: Format cherry-picked commits --- NorthstarDedicatedTest/serverauthentication.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/NorthstarDedicatedTest/serverauthentication.cpp b/NorthstarDedicatedTest/serverauthentication.cpp index b0ae2fb7..4618955d 100644 --- a/NorthstarDedicatedTest/serverauthentication.cpp +++ b/NorthstarDedicatedTest/serverauthentication.cpp @@ -51,7 +51,6 @@ CServerGameDLL__OnReceivedSayTextMessageType CServerGameDLL__OnReceivedSayTextMe typedef void (*ConCommand__DispatchType)(ConCommand* command, const CCommand& args, void* a3); ConCommand__DispatchType ConCommand__Dispatch; - // global vars ServerAuthenticationManager* g_ServerAuthenticationManager; @@ -722,11 +721,13 @@ void InitialiseServerAuthenticationServerDLL(HMODULE baseAddress) hook, (char*)baseAddress + 0x1595C0, &CServerGameDLL__OnReceivedSayTextMessageHook, reinterpret_cast(&CServerGameDLL__OnReceivedSayTextMessage)); - g_ServerSquirrelManager->AddFuncRegistration("void", "NSSetMessage", "string message, int playerId, int channelId, bool shouldBlock", "", setMessage); + g_ServerSquirrelManager->AddFuncRegistration( + "void", "NSSetMessage", "string message, int playerId, int channelId, bool shouldBlock", "", setMessage); g_ServerSquirrelManager->AddFuncRegistration("string", "NSChatGetCurrentMessage", "", "", getMessageServer); g_ServerSquirrelManager->AddFuncRegistration("int", "NSChatGetCurrentPlayer", "", "", getPlayerServer); g_ServerSquirrelManager->AddFuncRegistration("int", "NSChatGetCurrentChannel", "", "", getChannelServer); g_ServerSquirrelManager->AddFuncRegistration("bool", "NSShouldProcessMessage", "", "", getShouldProcessMessage); - g_ServerSquirrelManager->AddFuncRegistration("void", "NSPushMessage", "string message, int playerId, int channelId, bool shouldBlock", "", pushMessage); + g_ServerSquirrelManager->AddFuncRegistration( + "void", "NSPushMessage", "string message, int playerId, int channelId, bool shouldBlock", "", pushMessage); } -- cgit v1.2.3