Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Lobby Closing

paige edited this page Sep 11, 2023 · 3 revisions

Closing deletes the lobby
You can either close lobbies using Inst.close() or using Lobby.close()

var { game } = wc.pangine.Instances;
let lobby = new game.Lobby(ctx);


game.close(lobby.id);

lobby.close();



Lobby.close()

description: deletes the lobby
parameters:

  • ?reason String: reason for the lobby getting closed
lobby.close();

lobby.close("reason");



Inst.close()

description: deletes a lobby
parameters:

  • ID String: ID of the lobby to close
  • ?reason String: reason for the lobby getting closed
game.close(id);

game.close(id, "reason");
Clone this wiki locally