mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-13 23:28:11 +03:00
ConnectionManager.Close takes the same optional parameters as Connection.Close
This commit is contained in:
parent
950b256c27
commit
5fdffff5c4
@ -36,7 +36,10 @@ namespace Steamworks
|
|||||||
set => Connection.UserData = value;
|
set => Connection.UserData = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Close() => Connection.Close();
|
public void Close( bool linger = false, int reasonCode = 0, string debugString = "Closing Connection" )
|
||||||
|
{
|
||||||
|
Connection.Close( linger, reasonCode, debugString );
|
||||||
|
}
|
||||||
|
|
||||||
public override string ToString() => Connection.ToString();
|
public override string ToString() => Connection.ToString();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user