diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-09-02 00:38:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 00:38:07 +0200 |
commit | f2e670bd32fc291dbb6a4b45c08cb8f2d94a6bc8 (patch) | |
tree | eb23e0d5ebfc8f796b7bde55179ae3dc0ae46d3f /NorthstarDLL/scriptserverbrowser.cpp | |
parent | 80673fb5cfa32d3ff75d54c4c4173d32905fda30 (diff) | |
download | NorthstarLauncher-f2e670bd32fc291dbb6a4b45c08cb8f2d94a6bc8.tar.gz NorthstarLauncher-f2e670bd32fc291dbb6a4b45c08cb8f2d94a6bc8.zip |
Refactor cleanup (some formatting fixes) (#257)
* Fix some formatting
* More formatting fixes
Diffstat (limited to 'NorthstarDLL/scriptserverbrowser.cpp')
-rw-r--r-- | NorthstarDLL/scriptserverbrowser.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/NorthstarDLL/scriptserverbrowser.cpp b/NorthstarDLL/scriptserverbrowser.cpp index bf63e35a..ba5b17e2 100644 --- a/NorthstarDLL/scriptserverbrowser.cpp +++ b/NorthstarDLL/scriptserverbrowser.cpp @@ -50,7 +50,7 @@ SQRESULT SQ_GetServerName(HSquirrelVM* sqvm) if (serverIndex >= g_pMasterServerManager->m_vRemoteServers.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to get name of server index {} when only {} servers are available", serverIndex, @@ -71,7 +71,7 @@ SQRESULT SQ_GetServerDescription(HSquirrelVM* sqvm) if (serverIndex >= g_pMasterServerManager->m_vRemoteServers.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to get description of server index {} when only {} servers are available", serverIndex, @@ -92,7 +92,7 @@ SQRESULT SQ_GetServerMap(HSquirrelVM* sqvm) if (serverIndex >= g_pMasterServerManager->m_vRemoteServers.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to get map of server index {} when only {} servers are available", serverIndex, @@ -113,7 +113,7 @@ SQRESULT SQ_GetServerPlaylist(HSquirrelVM* sqvm) if (serverIndex >= g_pMasterServerManager->m_vRemoteServers.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to get playlist of server index {} when only {} servers are available", serverIndex, @@ -134,7 +134,7 @@ SQRESULT SQ_GetServerPlayerCount(HSquirrelVM* sqvm) if (serverIndex >= g_pMasterServerManager->m_vRemoteServers.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to get playercount of server index {} when only {} servers are available", serverIndex, @@ -155,7 +155,7 @@ SQRESULT SQ_GetServerMaxPlayerCount(HSquirrelVM* sqvm) if (serverIndex >= g_pMasterServerManager->m_vRemoteServers.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to get max playercount of server index {} when only {} servers are available", serverIndex, @@ -176,7 +176,7 @@ SQRESULT SQ_GetServerID(HSquirrelVM* sqvm) if (serverIndex >= g_pMasterServerManager->m_vRemoteServers.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to get id of server index {} when only {} servers are available", serverIndex, @@ -197,7 +197,7 @@ SQRESULT SQ_ServerRequiresPassword(HSquirrelVM* sqvm) if (serverIndex >= g_pMasterServerManager->m_vRemoteServers.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to get hasPassword of server index {} when only {} servers are available", serverIndex, @@ -218,7 +218,7 @@ SQRESULT SQ_GetServerRequiredModsCount(HSquirrelVM* sqvm) if (serverIndex >= g_pMasterServerManager->m_vRemoteServers.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to get required mods count of server index {} when only {} servers are available", serverIndex, @@ -240,7 +240,7 @@ SQRESULT SQ_GetServerRequiredModName(HSquirrelVM* sqvm) if (serverIndex >= g_pMasterServerManager->m_vRemoteServers.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to get hasPassword of server index {} when only {} servers are available", serverIndex, @@ -252,7 +252,7 @@ SQRESULT SQ_GetServerRequiredModName(HSquirrelVM* sqvm) if (modIndex >= g_pMasterServerManager->m_vRemoteServers[serverIndex].requiredMods.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to get required mod name of mod index {} when only {} mod are available", modIndex, @@ -274,7 +274,7 @@ SQRESULT SQ_GetServerRequiredModVersion(HSquirrelVM* sqvm) if (serverIndex >= g_pMasterServerManager->m_vRemoteServers.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to get required mod version of server index {} when only {} servers are available", serverIndex, @@ -286,7 +286,7 @@ SQRESULT SQ_GetServerRequiredModVersion(HSquirrelVM* sqvm) if (modIndex >= g_pMasterServerManager->m_vRemoteServers[serverIndex].requiredMods.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to get required mod version of mod index {} when only {} mod are available", modIndex, @@ -317,7 +317,7 @@ SQRESULT SQ_TryAuthWithServer(HSquirrelVM* sqvm) if (serverIndex >= g_pMasterServerManager->m_vRemoteServers.size()) { g_pSquirrel<ScriptContext::UI>->raiseerror( - sqvm, + sqvm, fmt::format( "Tried to auth with server index {} when only {} servers are available", serverIndex, |