Esempio n. 1
0
//------------------------------------------------------------------------
int CScriptBind_UIAction::GetArray( IFunctionHandler *pH, const char * elementName, int instanceID, const char* arrayName )
{
	IUIElement* pElement = GetElement( elementName, instanceID );
	if ( pElement )
	{
		const SUIParameterDesc* pArrayDesc = pElement->GetArrayDesc( arrayName );
		SUIArguments vals;
		if ( pArrayDesc && pElement->GetArray( pArrayDesc, vals ) )
		{
			SmartScriptTable res(m_pSS);
			string val;
			for (int i = 0; i < vals.GetArgCount(); ++i)
			{
				vals.GetArg(i).GetValueWithConversion(val);
				res->SetAt( i+1, val.c_str() );
			}
			return pH->EndFunction( res );
		}
		UIACTION_WARNING( "LUA: Element %s has no array %s", elementName, arrayName );
	}
	else
	{
		UIACTION_WARNING( "LUA: UIElement %s does not exist", elementName );
	}
	return pH->EndFunction( false );
}
Esempio n. 2
0
//------------------------------------------------------------------------
void SUIElementLuaCallback::OnUIEventEx( IUIElement* pSender, const char* fscommand, const SUIArguments& args, void* pUserData )
{
	SUIArguments luaArgs;
	luaArgs.AddArgument(fscommand);
	luaArgs.AddArguments(args);
	NotifyEvent(SUILuaCallbackInfo<IUIElement>::CreateInfo(pSender, "OnUIEventEx"), luaArgs);
}
Esempio n. 3
0
void CFlashUIFromArrayNode::ProcessEvent( EFlowEvent event,SActivationInfo* pActInfo )
{
	if (event == eFE_Activate && IsPortActive( pActInfo, eI_Array ))
	{
		SUIArguments args( GetPortString( pActInfo, eI_Array ).c_str());
		ActivateOutput( pActInfo, eO_Count, args.GetArgCount());

		SUIArguments leftOver;
		int          port = eO_Val1;

		for (int i = 0; i < args.GetArgCount(); ++i)
		{
			string arg;
			args.GetArg( i, arg );
			if (port + i < eO_LeftOver)
			{
				ActivateOutput( pActInfo, port + i, arg );
			}
			else
			{
				leftOver.AddArgument( arg );
			}
		}
		if (leftOver.GetArgCount() > 0)
		{
			ActivateOutput( pActInfo, eO_LeftOver, string( leftOver.GetAsString()));
		}
	}
}
Esempio n. 4
0
void CUISettings::SendSoundChange()
{
	SUIArguments args;
	args.AddArgument(m_pMusicVar->GetFVal());
	args.AddArgument(m_pSFxVar->GetFVal());
	args.AddArgument(m_pVideoVar->GetFVal());
	m_pUIFunctions->SendEvent(SUIEvent(m_EventMap[EUIE_SoundSettingsChanged], args));
}
Esempio n. 5
0
void CUISettings::SendResChange()
{
	SUIArguments args;
	args.AddArgument(m_pRXVar->GetIVal());
	args.AddArgument(m_pRYVar->GetIVal());
	args.AddArgument(m_pFSVar->GetIVal() != 0);
	m_pUIFunctions->SendEvent(SUIEvent(m_EventMap[EUIE_ResolutionChanged], args));
}
Esempio n. 6
0
//--------------------------------------------------------------------------------------------
void CUIObjectives::MissionObjectiveRemoved( const string& objectiveID )
{
	SMissionObjectiveInfo* pInfo = GetMissionObjectiveInfo( objectiveID );
	if ( pInfo )
	{
		SUIArguments args;
		args.AddArgument( objectiveID );
		NotifyUI( eUIOE_ObjectiveRemoved, args );
	}
}
Esempio n. 7
0
// ui functions
void CUISettings::SendResolutions()
{
	SUIArguments args;
	for (TResolutions::iterator it = m_Resolutions.begin(); it != m_Resolutions.end(); ++it)
	{
		args.AddArgument(it->first);
		args.AddArgument(it->second);
	}
	m_pUIFunctions->SendEvent(SUIEvent(m_EventMap[EUIE_OnGetResolutions], args));
}
Esempio n. 8
0
//--------------------------------------------------------------------------------------------
void CUIObjectives::MissionObjectiveStateChanged( const string& objectiveID, int state )
{
	SMissionObjectiveInfo* pInfo = GetMissionObjectiveInfo( objectiveID );
	if ( pInfo )
	{
		SUIArguments args;
		args.AddArgument( objectiveID );
		args.AddArgument( state );
		NotifyUI( eUIOE_ObjectiveStateChanged, args );
	}
}
Esempio n. 9
0
void CUIMultiPlayer::PlayerLeaved(EntityId playerid, const string& name)
{
	if (gEnv->pGame->GetIGameFramework()->GetClientActorId() == playerid)
		return;

	SUIArguments args;
	args.AddArgument(playerid);
	args.AddArgument(name);

	m_pUIFunctions->SendEvent(SUIEvent(m_EventMap[EUIE_PlayerLeaved], args));
}
Esempio n. 10
0
void CFlashUIEventNode::FlushNextEvent( SActivationInfo* pActInfo )
{
	if (m_events.size() > 0)
	{
		const std::pair<SUIArguments, int> &data          = m_events.get();
		const SUIArguments &                args          = data.first;
		bool                                bTriggerEvent = true;
		const int                           checkValue    = GetPortInt(pActInfo, eI_CheckPort);

		if (checkValue >= 0)
		{
			bTriggerEvent = false;
			CRY_ASSERT_MESSAGE(checkValue < args.GetArgCount(), "Port does not exist!" );
			if (checkValue < args.GetArgCount())
			{
				string val = GetPortString(pActInfo, eI_CheckValue);
				string compstr;
				args.GetArg(checkValue).GetValueWithConversion(compstr);
				bTriggerEvent = val == compstr;
			}
		}

		if (bTriggerEvent)
		{
			int    end = m_eventDesc.InputParams.Params.size();
			string val;

			int i = 0;
			for (; i < end; ++i)
			{
				CRY_ASSERT_MESSAGE( i < args.GetArgCount(), "UIEvent received wrong number of arguments!" );
				ActivateDynOutput( i < args.GetArgCount() ? args.GetArg(i) : TUIData(string("")), m_eventDesc.InputParams.Params[i], pActInfo, i + 2 );
			}
			if (m_eventDesc.InputParams.IsDynamic)
			{
				SUIArguments dynarg;
				for (; i < args.GetArgCount(); ++i)
				{
					if (args.GetArg( i, val ))
						dynarg.AddArgument( val );
				}
				ActivateOutput( pActInfo, end + eO_DynamicPorts, string( dynarg.GetAsString()));
			}
			ActivateOutput( pActInfo, eO_OnEvent, true );
			ActivateOutput( pActInfo, eO_OnInstanceId, data.second );
		}
		m_events.pop();
	}
}
Esempio n. 11
0
void CReadSendPacket::ReadGameServers(SPacket packet)
{
	gEnv->pLog->Log(TITLE "Read game server info packet...");

	Packet* p = new Packet((const unsigned char*)packet.data, packet.size);

	p->decodeBlowfish(gClientEnv->bBlowFish);

	/****************************Обязательный блок************************************/
	EPacketType type = (EPacketType)p->readInt();             // Packet type
	const char* version        = p->readString();             // Packet version
	/*********************************************************************************/

	int serversCount = p->readInt();

	for (int i = 0 ; i != serversCount; i++)
	{
		SGameServer Server; SUIArguments args;

		Server.id              = p->readInt();                  // id сервера
		Server.ip              = p->readString();               // ip сервера          
		Server.port            = p->readInt();                  // Порт сервера
		Server.serverName      = p->readString();               // Название сервера
		Server.currentPlayers  = p->readInt();                  // Онлайн на сервере
		Server.maxPlayers      = p->readInt();                  // Максимальное кол-во игроков
		Server.mapName         = p->readString();               // Название карты
		Server.gameRules       = p->readString();               // Режим игры

		if(Server.port)
		{
			char tmp[64];
			sprintf(tmp, "%d/%d", Server.currentPlayers, Server.maxPlayers);

			args.AddArgument(Server.id);
			args.AddArgument(Server.ip);
			args.AddArgument(Server.port);
			args.AddArgument(Server.serverName);
			args.AddArgument(tmp);
			args.AddArgument((const char*)Server.mapName);
			args.AddArgument((const char*)Server.gameRules);
			args.AddArgument(gClientEnv->pPing->Ping(Server.ip));

			CMsEvents::GetInstance()->SendEvent(CMsEvents::eUIGE_GameServerInfo, args);

			gClientEnv->pMasterServer->vServers.push_back(Server);
		}
	}
	

	const char* endBlock = p->readString();                    // Завершающий блок

	if(strcmp(endBlock,EndBlock))
	{
		gEnv->pLog->LogWarning(TITLE "Game servers packet damaged!");
	}

	delete p;
}
Esempio n. 12
0
void CUIManager::UpdatePickupMessage(bool bShow)
{
	if (!gEnv->pFlashUI) return;

	if (m_bPickupMsgVisible != bShow)
	{
		m_bPickupMsgVisible = bShow;
		static IUIAction* pAction = gEnv->pFlashUI->GetUIAction("DisplayPickupText");
		if (pAction)
		{
			SUIArguments args;
			args.AddArgument(bShow ? string("@ui_pickup") : string(""));
			gEnv->pFlashUI->GetUIActionManager()->StartAction(pAction, args);
		}
	}
}
Esempio n. 13
0
////////////////////////////////////////////////////////////////////////////
// ui functions
////////////////////////////////////////////////////////////////////////////
void CUISettings::SendResolutions()
{
    SUIArguments resolutions;

    for(int i = 0; i < m_Resolutions.size(); ++i)
    {
        string res;
        res.Format("%i x %i", m_Resolutions[i].first, m_Resolutions[i].second);
        m_eventSender.SendEvent<eUIE_OnGetResolutionItems>(res, (int)i);

        resolutions.AddArgument(m_Resolutions[i].first);
        resolutions.AddArgument(m_Resolutions[i].second);
    }

    m_eventSender.SendEvent<eUIE_OnGetResolutions>(resolutions);
}
Esempio n. 14
0
void CUIMultiPlayer::PlayerKilled(EntityId playerid, EntityId shooterid)
{
	SUIArguments args;

	IEntity* pEntity = gEnv->pEntitySystem->GetEntity(playerid);
	assert(pEntity);
	IEntity* pShooterEntity = gEnv->pEntitySystem->GetEntity(shooterid);
	assert(pShooterEntity);

	args.AddArgument(playerid);
	args.AddArgument(pEntity ? string(pEntity->GetName()) : string(UNDEF_ENTITY_NAME));
	args.AddArgument(shooterid);
	args.AddArgument(pShooterEntity ? string(pShooterEntity->GetName()) : string("undefined"));

	m_pUIFunctions->SendEvent(SUIEvent(m_EventMap[EUIE_PlayerKilled], args));
}
Esempio n. 15
0
void CUIObjectives::MissionObjectiveAdded( const string& objectiveID, int state )
{
	if ( gEnv->IsEditor() )
	{
		UpdateObjectiveInfo();
	}
	SMissionObjectiveInfo* pInfo = GetMissionObjectiveInfo( objectiveID );
	if ( pInfo )
	{
		SUIArguments args;
		args.AddArgument( objectiveID );
		args.AddArgument( pInfo->Name );
		args.AddArgument( pInfo->Desc );
		args.AddArgument( state );
		NotifyUI( eUIOE_ObjectiveAdded, args );
	}
}
Esempio n. 16
0
// ---------------------------------------------------------------
void CFlashUIBaseNodeDynPorts::GetDynInput( SUIArguments &args, const SUIParameterDesc &desc, SActivationInfo* pActInfo, int port)
{
	switch (desc.eType)
	{
	case SUIParameterDesc::eUIPT_Bool:
		args.AddArgument( GetPortBool(pActInfo, port));
		break;
	case SUIParameterDesc::eUIPT_Int:
		args.AddArgument( GetPortInt(pActInfo, port));
		break;
	case SUIParameterDesc::eUIPT_Float:
		args.AddArgument( GetPortFloat(pActInfo, port));
		break;
	case SUIParameterDesc::eUIPT_String:
		args.AddArgument( GetPortString(pActInfo, port));
		break;
	case SUIParameterDesc::eUIPT_WString:
		args.AddArgument( GetPortString(pActInfo, port), eUIDT_WString );
		break;
	case SUIParameterDesc::eUIPT_Vec3:
		args.AddArgument( GetPortVec3(pActInfo, port));
		break;
	default:
	{
		string               val;
		const TFlowInputData data = GetPortAny(pActInfo, port);
		data.GetValueWithConversion(val);
		args.AddArgument(val, eUIDT_Any);
	}
	break;
	}
}
Esempio n. 17
0
void CFlashUIArrayBaseNode::ProcessEvent( EFlowEvent event,SActivationInfo* pActInfo )
{
	if (event == eFE_Initialize)
	{
		UpdateObjectDesc( GetPortString( pActInfo, GetInputPort(eI_UIArray)), pActInfo, m_isTemplate );
	}
	else if (event == eFE_Activate)
	{
		if (IsPortActive( pActInfo, GetInputPort(eI_UIArray)))
		{
			UpdateObjectDesc( GetPortString( pActInfo, GetInputPort(eI_UIArray)), pActInfo, m_isTemplate );
		}

		if (IsTemplate() && !UpdateTmplDesc( GetPortString( pActInfo, GetInputPort(eI_TemplateInstanceName)), pActInfo ))
			return;

		if (GetElement())
		{
			const int instanceId = GetPortInt( pActInfo, GetInputPort(eI_InstanceID));
			if (IsPortActive ( pActInfo, GetInputPort(eI_Set)))
			{
				SUIArguments values( GetPortString( pActInfo, GetInputPort(eI_Value)).c_str());

				SPerInstanceCall1< const SUIArguments & > caller;
				caller.Execute( GetElement(), instanceId, functor(*this, &CFlashUIArrayBaseNode::SetArray), values );

				ActivateOutput( pActInfo, eO_OnSet, true );
			}
			else if (IsPortActive( pActInfo, GetInputPort(eI_Get)))
			{
				SUIArguments out;

				SPerInstanceCall1< SUIArguments & > caller;
				if (!caller.Execute( GetElement(), instanceId, functor(*this, &CFlashUIArrayBaseNode::GetArray), out, false ))
				{
					UIACTION_WARNING( "FG: UIElement \"%s\" called get Array for multiple instances! (passed instanceId %i), referenced at node \"%s\"", GetElement()->GetName(),instanceId, pActInfo->pGraph->GetNodeTypeName( pActInfo->myID ));
				}

				ActivateOutput( pActInfo, eO_Value, string( out.GetAsString()));
			}
		}
	}
}
Esempio n. 18
0
	bool TryArgToLuaTable(const SUIArguments &args, SmartScriptTable table, int idx)
	{
		T val;
		if (args.GetArg(idx, val))
		{
			SetTableVal<T>(val, table, idx);
			return true;
		}
		return false;
	}
Esempio n. 19
0
void CFlashUIToArrayNode::ProcessEvent( EFlowEvent event, SActivationInfo* pActInfo )
{
	if (event == eFE_Activate && IsPortActive( pActInfo, eI_Set ))
	{
		int count = GetPortInt( pActInfo, eI_Count );
		int port  = eI_Val1;

		SUIArguments args;
		for (int i = 0; i < count; ++i)
		{
			TFlowInputData data = GetPortAny( pActInfo, port + i );
			string         val;
			data.GetValueWithConversion( val );
			args.AddArgument( val );
		}

		ActivateOutput( pActInfo, eO_OnSet, true );
		ActivateOutput( pActInfo, eO_ArgList, string( args.GetAsString()));
	}
}
Esempio n. 20
0
//------------------------------------------------------------------------
bool SUIToLuaConversationHelper::UIArgsToLuaTable(const SUIArguments &args, SmartScriptTable table)
{
	bool res = true;
	for (int i = 0; i < args.GetArgCount(); ++i)
	{
		switch (args.GetArgType(i))
		{
		case eUIDT_Bool:
			SUIConvHelperTmpl::ArgToLuaTable<bool>(args, table, i);
			break;
		case eUIDT_Int:
			SUIConvHelperTmpl::ArgToLuaTable<int>(args, table, i);
			break;
		case eUIDT_Float:
			SUIConvHelperTmpl::ArgToLuaTable<float>(args, table, i);
			break;
		case eUIDT_EntityId:
			SUIConvHelperTmpl::ArgToLuaTable<EntityId>(args, table, i);
			break;
		case eUIDT_Vec3:
			SUIConvHelperTmpl::ArgToLuaTable<Vec3>(args, table, i);
			break;
		case eUIDT_String:
		case eUIDT_WString:
			SUIConvHelperTmpl::ArgToLuaTable<string>(args, table, i);
			break;
		case eUIDT_Any:
			{
				bool ok = SUIConvHelperTmpl::TryArgToLuaTable<int>(args, table, i)
					|| SUIConvHelperTmpl::TryArgToLuaTable<float>(args, table, i)
					|| SUIConvHelperTmpl::TryArgToLuaTable<string>(args, table, i);
				res &= ok;
			}
		default:
			res = false;
		}
	}
	return res;
}
Esempio n. 21
0
//------------------------------------------------------------------------
bool SUIToLuaConversationHelper::LuaArgsToUIArgs(IFunctionHandler* pH, int startIdx, SUIArguments &args)
{
	for (int i = startIdx; i <= pH->GetParamCount(); ++i)
	{
		TUIData val;
		if (!LuaArgToUIArg(pH, i, val))
		{
			return false;
		}
		args.AddArgument(val);
	}
	return true;
}
Esempio n. 22
0
//------------------------------------------------------------------------
bool SUIToLuaConversationHelper::LuaTableToUIArgs(SmartScriptTable table, SUIArguments &args)
{
	for (int i = 0; i <= table->Count(); ++i)
	{
		if (i == 0 && table->GetAtType(0) == svtNull)
			continue; // if passing {arg1, arg2, arg3} to scriptbind first entry will be nil

		TUIData val;
		if (!SUIConvHelperTmpl::LuaArgToUIArgImpl(table, i, val))
			return false;
		args.AddArgument( val );
	}
	return true;
}
void CDevMode::OnGameplayCommand(const char* cmd)
{
	SUIArguments args;
	args.SetDelimiter(":");
	args.SetArguments(cmd);

	string action;
	args.GetArg(0, action);
	if (action == "GotoTagPoint")
	{
		int tagpoint;
		args.GetArg(1, tagpoint);
		if (tagpoint >= 0 && tagpoint <= 11)
			GotoTagPoint(tagpoint);
	}
	else if (action == "SetViewMode" && gEnv->pGame && gEnv->pGame->GetIGameFramework())
	{
		int mode;
		args.GetArg(1, mode);
		IActor* pPlayer = gEnv->pGame->GetIGameFramework()->GetClientActor();
		static ICVar* pCamVar = gEnv->pConsole->GetCVar("cl_cam_orbit");
		if (pPlayer && pCamVar)
		{
			switch (mode)
			{
			case 0:
				pCamVar->Set(0);
				if (pPlayer->IsThirdPerson())
					pPlayer->ToggleThirdPerson();
				break;
			case 1:
				pCamVar->Set(0);
				if (!pPlayer->IsThirdPerson())
					pPlayer->ToggleThirdPerson();
				break;
			case 2:
				pCamVar->Set(1);
				break;
			}
		}
	}
	else if (action == "SetFlyMode" && gEnv->pGame && gEnv->pGame->GetIGameFramework())
	{
		int mode;
		args.GetArg(1, mode);
		IActor* pPlayer = gEnv->pGame->GetIGameFramework()->GetClientActor();
		if (pPlayer && mode >= 0 && mode < 3)
			pPlayer->SetFlyMode(mode);
	}
}
Esempio n. 24
0
//------------------------------------------------------------------------------------
void CUIActionManager::EndActionInt( IUIAction* pAction, const SUIArguments& args )
{
    FUNCTION_PROFILER(GetISystem(), PROFILE_ACTION);

    if ( pAction && m_actionStateMap[ pAction ] ) // only allow to end actions that are started
    {
        m_actionStateMap[pAction] = false;

        UIACTION_LOG( "UIAction %s end (Args: %s)", pAction->GetName(), args.GetAsString() );

        if (pAction->GetType() == IUIAction::eUIAT_LuaScript)
            ((CFlashUIAction*)pAction)->EndScript();

        for (TActionListener::Notifier notifier(m_listener); notifier.IsValid(); notifier.Next())
            notifier->OnEnd( pAction, args );
    }
}
Esempio n. 25
0
//------------------------------------------------------------------------------------
void CUIActionManager::EndAction( IUIAction* pAction, const SUIArguments& args )
{
    if (!m_bAcceptRequests) return;

    if ( pAction && pAction->IsValid() )
    {
#ifndef _RELEASE
        if (m_actionEndMap.find(pAction) != m_actionEndMap.end())
        {
            UIACTION_WARNING( "UIAction %s already ended! Old args will be discarded!", pAction->GetName() );
        }
#endif
        m_actionEndMap[pAction] = args;
        stl::member_find_and_erase(m_actionStartMap, pAction);
        UIACTION_LOG( "UIAction %s end request (Args: %s)", pAction->GetName(), args.GetAsString() );
        return;
    }
    UIACTION_ERROR( "EndAction failed! UIAction %s not valid!", pAction ? pAction->GetName() : "NULL" );
}
Esempio n. 26
0
//------------------------------------------------------------------------------------
void CUIActionManager::StartActionInt( IUIAction* pAction, const SUIArguments& args )
{
    FUNCTION_PROFILER(GetISystem(), PROFILE_ACTION);

    if ( pAction && pAction->IsValid() )
    {
        m_actionStateMap[ pAction ] = true;

        EnableActionInt( pAction, true );

        UIACTION_LOG( "UIAction %s start (Args: %s)", pAction->GetName(), args.GetAsString() );

        if (pAction->GetType() == IUIAction::eUIAT_LuaScript)
            ((CFlashUIAction*)pAction)->StartScript(args);

        for (TActionListener::Notifier notifier(m_listener); notifier.IsValid(); notifier.Next())
            notifier->OnStart( pAction, args );
    }
}
	// IUIElementEventListener
	virtual void OnUIEvent( IUIElement* pSender, const SUIEventDesc& event, const SUIArguments& args )
	{
		assert(pSender == m_pElement);

		if ( strcmp(event.sDisplayName, "OnPlay") == 0)
		{
			ActivateOutput(&m_ActInfo, eO_OnPlay, true);
		}
		else if ( strcmp(event.sDisplayName, "OnPause") == 0)
		{
			ActivateOutput(&m_ActInfo, eO_OnPause, true);
		}
		else if ( strcmp(event.sDisplayName, "OnResume") == 0)
		{
			ActivateOutput(&m_ActInfo, eO_OnResume, true);
		}
		else if ( strcmp(event.sDisplayName, "OnStop") == 0)
		{
			if (m_bPlaying)
			{
				m_bPlaying = false;
				UnloadPlayerNextFrame();

				bool bFinished;
				args.GetArg(0, bFinished);
				ActivateOutput(&m_ActInfo, eO_OnStop, bFinished);
			}
		}
		else if ( strcmp(event.sDisplayName, "OnLooped") == 0)
		{
			ActivateOutput(&m_ActInfo, eO_OnLooped, true);
		}
		else if ( strcmp(event.sDisplayName, "OnFileNotFound") == 0)
		{
			m_bPlaying = false;
			UnloadPlayerNextFrame();
			ActivateOutput(&m_ActInfo, eO_OnStop, false);
			ActivateOutput(&m_ActInfo, eO_OnVideoNotFound, true);
		}
	}
Esempio n. 28
0
	void ArgToLuaTable(const SUIArguments &args, SmartScriptTable table, int idx)
	{
		T val;
		args.GetArgNoConversation(idx, val);
		SetTableVal<T>(val, table, idx);
	}
Esempio n. 29
0
void CFlashUIActionNode::OnEnd( IUIAction* pAction, const SUIArguments& args  )
{
	if ( m_pAction != NULL && pAction == m_pAction )
	{
		UI_STACK_PUSH( m_endStack, std::make_pair( pAction, args ), "OnEnd UIAction %s (%s)", pAction->GetName(), args.GetAsString() );
		if ( m_bWasStarted )
		{
			m_bWasStarted = false;
			UI_STACK_PUSH( m_selfEndStack, std::make_pair( pAction, args ), "OnEnd (self) UIAction %s (%s)", pAction->GetName(), args.GetAsString() );
		}
	}
}
Esempio n. 30
0
void CFlashUIActionNode::OnStart( IUIAction* pAction, const SUIArguments& args  )
{
	if ( m_pAction != NULL && pAction == m_pAction )
	{
		UI_STACK_PUSH(m_startStack, std::make_pair( pAction, args ), "OnStart UIAction %s (%s)", pAction->GetName(), args.GetAsString() );
	}
}