当前位置: 首页>>代码示例>>C++>>正文


C++ LLGroupMoneyTabEventHandler类代码示例

本文整理汇总了C++中LLGroupMoneyTabEventHandler的典型用法代码示例。如果您正苦于以下问题:C++ LLGroupMoneyTabEventHandler类的具体用法?C++ LLGroupMoneyTabEventHandler怎么用?C++ LLGroupMoneyTabEventHandler使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了LLGroupMoneyTabEventHandler类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: get_if_there

void LLPanelGroupLandMoney::update(LLGroupChange gc)
{
	if (gc != GC_ALL) return;  //Don't update if it's the wrong panel!

	LLTabContainer* tabp = getChild<LLTabContainer>("group_money_tab_container");

	if ( tabp )
	{
		LLPanel* panelp;
		LLGroupMoneyTabEventHandler* eh;

		panelp = tabp->getCurrentPanel();

		//now pull the event handler associated with that L$ tab
		if ( panelp )
		{
			eh = get_if_there(LLGroupMoneyTabEventHandler::sTabsToHandlers,
							  panelp,
							  (LLGroupMoneyTabEventHandler*)NULL);
			if ( eh ) eh->onClickTab();
		}
	}

	mImplementationp->requestGroupLandInfo();
	mImplementationp->setYourContributionTextField(mImplementationp->getStoredContribution());
}
开发者ID:JohnMcCaffery,项目名称:Armadillo-Phoenix,代码行数:26,代码来源:llpanelgrouplandmoney.cpp

示例2: processGroupAccountSummaryReply

//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);
}
开发者ID:JohnMcCaffery,项目名称:Armadillo-Phoenix,代码行数:32,代码来源:llpanelgrouplandmoney.cpp

示例3: processGroupAccountTransactionsReply

//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);
}
开发者ID:Xara,项目名称:Opensource-V2-SL-Viewer,代码行数:26,代码来源:llpanelgrouplandmoney.cpp

示例4: processGroupAccountSummaryReply

//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);
}
开发者ID:nebadon2025,项目名称:replex,代码行数:30,代码来源:llpanelgrouplandmoney.cpp

示例5: clickLaterCallback

//static
void LLGroupMoneyTabEventHandler::clickLaterCallback(void* data)
{
	LLGroupMoneyTabEventHandler* selfp = (LLGroupMoneyTabEventHandler*) data;
	if ( selfp ) selfp->onClickLater();
}
开发者ID:JohnMcCaffery,项目名称:Armadillo-Phoenix,代码行数:6,代码来源:llpanelgrouplandmoney.cpp


注:本文中的LLGroupMoneyTabEventHandler类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。