Files
o3de/Gems/LmbrCentral/Code/Source/Ai/EditorNavigationUtil.cpp
T
2021-06-23 10:55:22 -07:00

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