uncategorized commonNetworkRoomReturns - wxyz-abcd/node-haxball GitHub Wiki

CommonNetworkRoomReturns

Contains the following callbacks:

  • cancel(): void

    This function cancels the process of joining a room. Does nothing if not currently trying to join a room. This function may also be used later to leave a room.

    Parameters: None.

    Return value: void.

  • useRecaptchaToken(token: string): void

    Should be used to send the recaptcha token after the MissingRecaptchaCallbackError error code is received. Currently only working while creating a room. Workaround: In order to send the token to try and join a recaptcha-protected room, clean up old resources and use Room.join with the new token.

    Parameters:

    • token: string: The recaptcha token.

    Return value: void.

⚠️ **GitHub.com Fallback** ⚠️