ExitGames::Common::JVector<int> NetworkLogic::getCurrentRoomPlayerNumbers(){
	ExitGames::Common::JVector<int> players;
	ExitGames::Common::JVector<ExitGames::LoadBalancing::Player> mPlayers = mLoadBalancingClient.getCurrentlyJoinedRoom().getPlayers();
	for (unsigned int i=0; i<mPlayers.getSize(); i++){
		players.addElement(mPlayers[i].getNumber());
	}
	return players;
}
void LoadBalancingListener::updateGroups(void)
{
	if(mpLbc->getIsInRoom())
	{	
		ExitGames::Common::JVector<nByte> remove;
		if(mUseGroups)
		{
			ExitGames::Common::JVector<nByte> add;
			add.addElement(getGroupByPos());
			mpLbc->opChangeGroups(&remove, &add);
		}
		else
			mpLbc->opChangeGroups(&remove, NULL);
	}
}