aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/plugins.cpp
diff options
context:
space:
mode:
authorKawe Mazidjatari <48657826+Mauler125@users.noreply.github.com>2022-04-20 19:10:26 +0200
committerGitHub <noreply@github.com>2022-04-20 19:10:26 +0200
commit44d1d694982d2a4f302bf7155d4582628f9f32f4 (patch)
tree7cbd75d0eb0464ccd0103424d529fef2000bc0e5 /NorthstarDedicatedTest/plugins.cpp
parent0c7fcc06f0fb072c00729c646773174b273a18b3 (diff)
parent47ea109be0d73120ddfe6896494e1fce986515b3 (diff)
downloadNorthstarLauncher-44d1d694982d2a4f302bf7155d4582628f9f32f4.tar.gz
NorthstarLauncher-44d1d694982d2a4f302bf7155d4582628f9f32f4.zip
Merge branch 'main' into NetCon
Diffstat (limited to 'NorthstarDedicatedTest/plugins.cpp')
-rw-r--r--NorthstarDedicatedTest/plugins.cpp19
1 files changed, 13 insertions, 6 deletions
diff --git a/NorthstarDedicatedTest/plugins.cpp b/NorthstarDedicatedTest/plugins.cpp
index 62d781bb..70535a32 100644
--- a/NorthstarDedicatedTest/plugins.cpp
+++ b/NorthstarDedicatedTest/plugins.cpp
@@ -392,18 +392,25 @@ void InitialisePluginCommands(HMODULE baseAddress)
if (g_UISquirrelManager && g_ClientSquirrelManager)
{
g_UISquirrelManager->AddFuncRegistration(
- "void", "NSUpdateGameStateUI", "string gamemode, string gamemodeName, string map, string mapName, bool connected, bool loading",
- "", SQ_UpdateGameStateUI);
+ "void",
+ "NSUpdateGameStateUI",
+ "string gamemode, string gamemodeName, string map, string mapName, bool connected, bool loading",
+ "",
+ SQ_UpdateGameStateUI);
g_ClientSquirrelManager->AddFuncRegistration(
- "void", "NSUpdateGameStateClient",
- "int playerCount, int maxPlayers, int outScore, int secondHighestScore, int highestScore, bool roundBased, int scoreLimit", "",
+ "void",
+ "NSUpdateGameStateClient",
+ "int playerCount, int maxPlayers, int outScore, int secondHighestScore, int highestScore, bool roundBased, int scoreLimit",
+ "",
SQ_UpdateGameStateClient);
g_UISquirrelManager->AddFuncRegistration(
- "void", "NSUpdateServerInfo",
+ "void",
+ "NSUpdateServerInfo",
"string id, string name, string password, int players, int maxPlayers, string map, string mapDisplayName, string playlist, "
"string "
"playlistDisplayName",
- "", SQ_UpdateServerInfo);
+ "",
+ SQ_UpdateServerInfo);
g_ClientSquirrelManager->AddFuncRegistration(
"void", "NSUpdateServerInfoReload", "int maxPlayers", "", SQ_UpdateServerInfoBetweenRounds);
g_ClientSquirrelManager->AddFuncRegistration("void", "NSUpdateTimeInfo", "float timeInFuture", "", SQ_UpdateTimeInfo);