This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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();
description: deletes the lobby
parameters:
- ?reason
String
: reason for the lobby getting closedlobby.close(); lobby.close("reason");
description: deletes a lobby
parameters:
- ID
String
: ID of the lobby to close- ?reason
String
: reason for the lobby getting closedgame.close(id); game.close(id, "reason");
If you want to check out the different versions and changes check out the releases
For a look into the development side check out the src folder