本文整理汇总了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());
}
示例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);
}
示例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);
}
示例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);
}
示例5: clickLaterCallback
//static
void LLGroupMoneyTabEventHandler::clickLaterCallback(void* data)
{
LLGroupMoneyTabEventHandler* selfp = (LLGroupMoneyTabEventHandler*) data;
if ( selfp ) selfp->onClickLater();
}