mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 06:38:01 +03:00
Added Networking.CloseSession
This commit is contained in:
parent
3895fd33aa
commit
42d47a14c7
@ -186,5 +186,14 @@ namespace Facepunch.Steamworks
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// This should be called when you're done communicating with a user, as this will free up all of the resources allocated for the connection under-the-hood.
|
||||||
|
/// If the remote user tries to send data to you again, a new onP2PConnectionRequest callback will be posted.
|
||||||
|
/// </summary>
|
||||||
|
public bool CloseSession( ulong steamId )
|
||||||
|
{
|
||||||
|
return networking.CloseP2PSessionWithUser( steamId );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user