FunctionsServerDisconnectServerDisconnect CallableServerDisconnect(data?: ServerForceDisconnectMessage, close?: boolean): voidCallback used when we are disconnected from the server, try to enter the reconnection mode (relog screen) if the user was logged inParametersoptionaldata: ServerForceDisconnectMessageError to logoptionalclose: boolean = falseclose the transportReturns voidNothing
Callback used when we are disconnected from the server, try to enter the reconnection mode (relog screen) if the user was logged in