0 Favourites

Difference between Multiplayer.Disconnect and .LeaveRoom

  • 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?

  • Construct 3

    Buy Construct 3

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

    Buy 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)