aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest
diff options
context:
space:
mode:
authorBarichello <artur@barichello.me>2022-02-15 00:50:15 -0300
committerBarichello <artur@barichello.me>2022-02-15 00:50:15 -0300
commit5a480af7d3a51d0c6fface4097fbe7261e62f803 (patch)
tree17d8bc6cc43e26aab13ff127fd9afc0cdd162c28 /NorthstarDedicatedTest
parent8d49e4ea5645a6b5330d476a6ee259a46b5d00a5 (diff)
downloadNorthstarLauncher-5a480af7d3a51d0c6fface4097fbe7261e62f803.tar.gz
NorthstarLauncher-5a480af7d3a51d0c6fface4097fbe7261e62f803.zip
Format cherry-picked commits
Diffstat (limited to 'NorthstarDedicatedTest')
-rw-r--r--NorthstarDedicatedTest/serverauthentication.cpp7
1 files 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<LPVOID*>(&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);
}