Room Event - OnJoin

The event is raised when Join is called. In order to obtain the room ID, you must call GetRoomID when the event is raised.

This event is meant to report if the join operation on the server was successful or not.

The event also propagates createdTime. This is the server timestamp that indicates the room creation time. This is meant to be used to synchronize remote member clients.

room.OnJoin += OnRoomJoin;

private void OnRoomJoin(bool success, uint createdTime)
{
  // If success is false, joining the room has failed.
  // bool createdTime is the timestamp to be shared by the members of the room
  // remember the  room ID
  roomID = room.GetRoomID()
}