Difference between Multiplayer.Disconnect and .LeaveRoom

Get help using Construct 2

Post » Mon Jul 28, 2014 5:00 pm

Hi! Does anyone know whats the difference between Disconnecting from a room and leaving it?

From the manual:
Disconnect from the room. If the room host, all players are kicked; otherwise the peer disconnects from the host. The room is also left on the signalling server, so another room can be joined afterwards.

Leave room
If in a room, leaves the room on the signalling server. On left room triggers upon the server acknowledging the request to leave. Note the room has not really been left until that trigger runs.

If the host leaves a room its the same as disconnect? :?:

PS: There is no action to log out, right? You need to disconnect completely and reconnect to the signalling server?
Bl4ckSh33p-Soft - Custom Software and Indie Games
Posts: 761
Reputation: 9,601

Return to How do I....?

Who is online

Users browsing this forum: mattshallow, Yahoo [Bot] and 23 guests