View Source Code

Lobbies

Set Player Disconnected

Called when a player disconnects from the lobby.

Request

  • lobbyId
    optional string
  • lobbyToken
    optional string
  • playerTokens
    array of strings

Response

Script does not return any data.

Usage

1. Install the module

2. Use this script

const data = await ctx.modules.lobbies.set_player_disconnected({
  // Request body
});