Difference between Multiplayer.Disconnect and .LeaveRoom

0 favourites
  • 1 posts
From the Asset Store
The official Scirra Multiplayer Signalling Server for helping peers find and connect to each other
  • Hi! Does anyone know whats the difference between Disconnecting from a room and leaving it?

    From the manual:

    [quote:2aegv5hr]Disconnect

    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.

    [quote:2aegv5hr]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?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)