Room Event - OnCreate

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


room.OnCreate += OnRoomCreate;

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