mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 22:25:49 +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 @@ public long UserData
|
||||
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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user