From 17434b29103d5b9738e7e6b0cd552d24794aeb2a Mon Sep 17 00:00:00 2001 From: thesupersoup <40295603+thesupersoup@users.noreply.github.com> Date: Wed, 26 Jun 2019 20:36:17 -0700 Subject: [PATCH] Updated summary for SetGameServer, IndicateAchProg exception --- Facepunch.Steamworks/SteamUserStats.cs | 2 +- Facepunch.Steamworks/Structs/Lobby.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Facepunch.Steamworks/SteamUserStats.cs b/Facepunch.Steamworks/SteamUserStats.cs index 163de57..0b9dc9f 100644 --- a/Facepunch.Steamworks/SteamUserStats.cs +++ b/Facepunch.Steamworks/SteamUserStats.cs @@ -101,7 +101,7 @@ namespace Steamworks public static bool IndicateAchievementProgress( string achName, int curProg, int maxProg ) { if ( string.IsNullOrEmpty( achName ) ) - throw new ArgumentNullException( "Achievement string is null or void " ); + throw new ArgumentNullException( "Achievement string is null or empty" ); if ( curProg >= maxProg ) throw new ArgumentException( $" Current progress [{curProg}] arguement toward achievement greater than or equal to max [{maxProg}]" ); diff --git a/Facepunch.Steamworks/Structs/Lobby.cs b/Facepunch.Steamworks/Structs/Lobby.cs index f1bc754..f9f8b98 100644 --- a/Facepunch.Steamworks/Structs/Lobby.cs +++ b/Facepunch.Steamworks/Structs/Lobby.cs @@ -204,8 +204,8 @@ namespace Steamworks.Data /// /// [SteamID variant] - /// Allows the owner to set the game server associated with the lobby. Triggers a - /// LobbyGameCreated_t callback. + /// Allows the owner to set the game server associated with the lobby. Triggers the + /// Steammatchmaking.OnLobbyGameCreated event. /// public void SetGameServer( SteamId steamServer ) { @@ -217,8 +217,8 @@ namespace Steamworks.Data /// /// [IP/Port variant] - /// Allows the owner to set the game server associated with the lobby. Triggers a - /// LobbyGameCreated_t callback. + /// Allows the owner to set the game server associated with the lobby. Triggers the + /// Steammatchmaking.OnLobbyGameCreated event. /// public void SetGameServer( string ip, ushort port ) {