//In the absence of connection to Hall Server, we use a dummy CreateRoomEvent to create a new room. //Usually, it means the game is running in Edit Mode. public void CreateRoomIfNotExist() { if (_room == null && !_hasHallServer) { var e = RoomEvent.AllocEvent <CreateRoomEvent>(); e.IsDummy = true; e.Message = null; CreateRoom(e); RoomEvent.FreeEvent(e); } }