mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-14 07:38:06 +03:00
Updated summary for SetGameServer, IndicateAchProg exception
This commit is contained in:
parent
7c1a218553
commit
17434b2910
@ -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}]" );
|
||||
|
@ -204,8 +204,8 @@ namespace Steamworks.Data
|
||||
|
||||
/// <summary>
|
||||
/// [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.
|
||||
/// </summary>
|
||||
public void SetGameServer( SteamId steamServer )
|
||||
{
|
||||
@ -217,8 +217,8 @@ namespace Steamworks.Data
|
||||
|
||||
/// <summary>
|
||||
/// [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.
|
||||
/// </summary>
|
||||
public void SetGameServer( string ip, ushort port )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user