Facepunch.Steamworks Wiki

Revision Difference

SteamNetworking.CloseP2PSessionWithUser#519832

<member type="method" namespace="Steamworks" parent="SteamNetworking" name="CloseP2PSessionWithUser" static="true"> <args> <arg name="user" type="Steamworks.SteamId"></arg>⤶ <arg name="user" type="SteamId"></arg>⤶ </args> <return type="bool"></return> <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 OnP2PSessionRequest callback will be posted</summary> </member>