mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-04-16 14:22:27 +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 )
|
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}]" );
|
||||||
|
@ -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 )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user