Updated summary for SetGameServer, IndicateAchProg exception

This commit is contained in:
thesupersoup 2019-06-26 20:36:17 -07:00
parent 7c1a218553
commit 17434b2910
2 changed files with 5 additions and 5 deletions

View File

@ -101,7 +101,7 @@ namespace Steamworks
public static bool IndicateAchievementProgress( string achName, int curProg, int maxProg ) public static bool IndicateAchievementProgress( string achName, int curProg, int maxProg )
{ {
if ( string.IsNullOrEmpty( achName ) ) 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 ) if ( curProg >= maxProg )
throw new ArgumentException( $" Current progress [{curProg}] arguement toward achievement greater than or equal to max [{maxProg}]" ); throw new ArgumentException( $" Current progress [{curProg}] arguement toward achievement greater than or equal to max [{maxProg}]" );

View File

@ -204,8 +204,8 @@ namespace Steamworks.Data
/// <summary> /// <summary>
/// [SteamID variant] /// [SteamID variant]
/// Allows the owner to set the game server associated with the lobby. Triggers a /// Allows the owner to set the game server associated with the lobby. Triggers the
/// LobbyGameCreated_t callback. /// Steammatchmaking.OnLobbyGameCreated event.
/// </summary> /// </summary>
public void SetGameServer( SteamId steamServer ) public void SetGameServer( SteamId steamServer )
{ {
@ -217,8 +217,8 @@ namespace Steamworks.Data
/// <summary> /// <summary>
/// [IP/Port variant] /// [IP/Port variant]
/// Allows the owner to set the game server associated with the lobby. Triggers a /// Allows the owner to set the game server associated with the lobby. Triggers the
/// LobbyGameCreated_t callback. /// Steammatchmaking.OnLobbyGameCreated event.
/// </summary> /// </summary>
public void SetGameServer( string ip, ushort port ) public void SetGameServer( string ip, ushort port )
{ {