aboutsummaryrefslogtreecommitdiff
path: root/primedev/scripts/client/scriptserverbrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'primedev/scripts/client/scriptserverbrowser.cpp')
-rw-r--r--primedev/scripts/client/scriptserverbrowser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/primedev/scripts/client/scriptserverbrowser.cpp b/primedev/scripts/client/scriptserverbrowser.cpp
index 21324535..b946f7a9 100644
--- a/primedev/scripts/client/scriptserverbrowser.cpp
+++ b/primedev/scripts/client/scriptserverbrowser.cpp
@@ -8,6 +8,7 @@
ADD_SQFUNC("void", NSRequestServerList, "", "", ScriptContext::UI)
{
+ NOTE_UNUSED(sqvm);
g_pMasterServerManager->RequestServerList();
return SQRESULT_NULL;
}
@@ -32,6 +33,7 @@ ADD_SQFUNC("int", NSGetServerCount, "", "", ScriptContext::UI)
ADD_SQFUNC("void", NSClearRecievedServerList, "", "", ScriptContext::UI)
{
+ NOTE_UNUSED(sqvm);
g_pMasterServerManager->ClearServerList();
return SQRESULT_NULL;
}
@@ -114,6 +116,7 @@ ADD_SQFUNC("void", NSConnectToAuthedServer, "", "", ScriptContext::UI)
ADD_SQFUNC("void", NSTryAuthWithLocalServer, "", "", ScriptContext::UI)
{
+ NOTE_UNUSED(sqvm);
// do auth request
g_pMasterServerManager->AuthenticateWithOwnServer(g_pLocalPlayerUserID, g_pMasterServerManager->m_sOwnClientAuthToken);
@@ -122,6 +125,7 @@ ADD_SQFUNC("void", NSTryAuthWithLocalServer, "", "", ScriptContext::UI)
ADD_SQFUNC("void", NSCompleteAuthWithLocalServer, "", "", ScriptContext::UI)
{
+ NOTE_UNUSED(sqvm);
// literally just set serverfilter
// note: this assumes we have no authdata other than our own
if (g_pServerAuthentication->m_RemoteAuthenticationData.size())