void LLAvatarPropertiesProcessor::sendPickInfoRequest(const LLUUID& creator_id, const LLUUID& pick_id)
{
	// Must ask for a pick based on the creator id because
	// the pick database is distributed to the inventory cluster. JC
	std::vector<std::string> request_params;
	request_params.push_back(creator_id.asString() );
	request_params.push_back(pick_id.asString() );
	send_generic_message("pickinforequest", request_params);
}
Beispiel #2
0
void LLPanelPick::sendPickInfoRequest()
{
	// Must ask for a pick based on the creator id because
	// the pick database is distributed to the inventory cluster. JC
	std::vector<std::string> strings;
	strings.push_back( mCreatorID.asString() );
	strings.push_back( mPickID.asString() );
	send_generic_message("pickinforequest", strings);

	mDataRequested = TRUE;
}
void LLFloaterEnvSettings::onSubmitWindlight(void* userData)
{
	Meta7WindlightPacket * wl = new Meta7WindlightPacket();

	LLWaterParamManager * param_mgr = LLWaterParamManager::instance();
	wl->reflectionWaveletScale.X = param_mgr->mNormalScale.mX;
	wl->reflectionWaveletScale.Y = param_mgr->mNormalScale.mY;
	wl->reflectionWaveletScale.Z = param_mgr->mNormalScale.mZ;

	
	std::vector<std::string> strings;
	strings.push_back((char*)wl);
	send_generic_message("Windlight", strings);
}
void LLAvatarPropertiesProcessor::sendGenericRequest(const LLUUID& avatar_id, EAvatarProcessorType type, const std::string method)
{
	// Suppress duplicate requests while waiting for a response from the network
	if (isPendingRequest(avatar_id, type))
	{
		// waiting for a response, don't re-request
		return;
	}
	// indicate we're going to make a request
	addPendingRequest(avatar_id, type);

	std::vector<std::string> strings;
	strings.push_back( avatar_id.asString() );
	send_generic_message(method, strings);
}