joinRoom

Documentation on the joinRoom packet sent by the client to the server.

Description

This packet is sent by the client whenever a World Trigger with a joinRoom property is collided with, and tells the server the new room the player should be put in. First, the client is sent a reciprocated packet specifying the Player Crumbs in the room. Then, server propagates that event to all the other players in the current room telling them a certain player left, and propagates an event to the players in the new room that a certain player had joined.

Parameters

Key
Type
Description

roomId

string

The room ID of the new room to put the player in.

Last updated