24 lines
671 B
C++
24 lines
671 B
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
#include "LmbrCentral_precompiled.h"
|
|
#include "EditorNavigationUtil.h"
|
|
|
|
#include <AzToolsFramework/API/ToolsApplicationAPI.h>
|
|
|
|
namespace LmbrCentral
|
|
{
|
|
AZStd::vector<AZStd::string> PopulateAgentTypeList()
|
|
{
|
|
AZStd::vector<AZStd::string> agentTypes;
|
|
AzToolsFramework::EditorRequests::Bus::BroadcastResult(
|
|
agentTypes, &AzToolsFramework::EditorRequests::Bus::Events::GetAgentTypes);
|
|
agentTypes.insert(agentTypes.begin(), ""); // insert blank element
|
|
return agentTypes;
|
|
}
|
|
} // namespace LmbrCentral
|