factorise setLobbyInfo