{lyn7298} removing PythonBuilderRequestBus from PythonAssetBuilder (#6115)

* {lyn7298} removing PythonBuilderRequestBus from PythonAssetBuilder

* PythonBuilderRequestBus is a depreciated event bus
* removing the unsupported API

Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>

* removing the PythonBuilderRequestBus_Behavior_Exists test

Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>
This commit is contained in:
Allen Jackson
2021-12-03 11:21:33 -06:00
committed by GitHub
parent 75c015b67e
commit 8186c268e3
7 changed files with 0 additions and 238 deletions
@@ -11,7 +11,6 @@
#include <AzCore/Component/Component.h>
#include <PythonAssetBuilder/PythonAssetBuilderBus.h>
#include <PythonAssetBuilder/PythonBuilderRequestBus.h>
namespace PythonAssetBuilder
{
@@ -21,7 +20,6 @@ namespace PythonAssetBuilder
class PythonAssetBuilderSystemComponent
: public AZ::Component
, protected PythonAssetBuilderRequestBus::Handler
, protected PythonBuilderRequestBus::Handler
{
public:
AZ_COMPONENT(PythonAssetBuilderSystemComponent, "{E2872C13-D103-4534-9A95-76A66C8DDB5D}");
@@ -42,13 +40,6 @@ namespace PythonAssetBuilder
AZ::Outcome<bool, AZStd::string> RegisterAssetBuilder(const AssetBuilderSDK::AssetBuilderDesc& desc) override;
AZ::Outcome<AZStd::string, AZStd::string> GetExecutableFolder() const override;
// PythonBuilderRequestBus
AZ::Outcome<AZ::EntityId, AZStd::string> CreateEditorEntity(const AZStd::string& name) override;
AZ::Outcome<AZ::Data::AssetType, AZStd::string> WriteSliceFile(
AZStd::string_view filename,
AZStd::vector<AZ::EntityId> entityList,
bool makeDynamic) override;
private:
using PythonBuilderWorkerPointer = AZStd::shared_ptr<PythonBuilderWorker>;
using PythonBuilderWorkerMap = AZStd::unordered_map<AZ::Uuid, PythonBuilderWorkerPointer>;