//static
void LLPanelGroupLandMoney::processGroupAccountTransactionsReply(LLMessageSystem* msg, 
																 void** data)
{
	LLUUID agent_id;
	msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id );
	if (gAgent.getID() != agent_id)
	{
		llwarns << "Got group L$ history reply for another agent!" << llendl;
		return;
	}

	LLUUID request_id;
	msg->getUUIDFast(_PREHASH_MoneyData, _PREHASH_RequestID, request_id );

	LLGroupMoneyTabEventHandler* self;

	self = LLGroupMoneyTabEventHandler::sInstanceIDs.getIfThere(request_id);
	if (!self)
	{
		llwarns << "GroupAccountTransactions received for non-existent group panel." << llendl;
		return;
	}

	self->processReply(msg, data);
}
//static
void LLPanelGroupLandMoney::processGroupAccountSummaryReply(LLMessageSystem* msg, 
															void** data)
{
	LLUUID agent_id;
	msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id );
	if (gAgent.getID() != agent_id)
	{
// <FS:AW opensim currency support>
//		llwarns << "Got group L$ history reply for another agent!" << llendl;
		llwarns << Tea::wrapCurrency("Got group L$ history reply for another agent!") << llendl;
// </FS:AW opensim currency support>
		return;
	}

	LLUUID request_id;
	msg->getUUIDFast(_PREHASH_MoneyData, _PREHASH_RequestID, request_id );

	LLGroupMoneyTabEventHandler* self;

	self = LLGroupMoneyTabEventHandler::sInstanceIDs.getIfThere(request_id);
	if (!self)
	{
// <FS:AW opensim currency support>
//		llwarns << "GroupAccountSummary recieved for non-existent group L$ planning tab." << llendl;
		llwarns << Tea::wrapCurrency("GroupAccountSummary recieved for non-existent group L$ planning tab.") << llendl;
// </FS:AW opensim currency support>
		return;
	}

	self->processReply(msg, data);
}
예제 #3
0
//static
void LLPanelGroupLandMoney::processGroupAccountSummaryReply(LLMessageSystem* msg, 
															void** data)
{
	LLUUID agent_id;
	msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id );
	if (gAgent.getID() != agent_id)
	{
		llwarns << "Got group "
			<< gHippoGridManager->getConnectedGrid()->getCurrencySymbol()
			<< " history reply for another agent!" << llendl;
		return;
	}

	LLUUID request_id;
	msg->getUUIDFast(_PREHASH_MoneyData, _PREHASH_RequestID, request_id );

	LLGroupMoneyTabEventHandler* self;

	self = LLGroupMoneyTabEventHandler::sInstanceIDs.getIfThere(request_id);
	if (!self)
	{
		llwarns << "GroupAccountSummary recieved for non-existent group "
			<< gHippoGridManager->getConnectedGrid()->getCurrencySymbol()
			<< " planning tab." << llendl;
		return;
	}

	self->processReply(msg, data);
}