RecastNavigationEditorSystemComponent.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <RecastNavigationSystemComponent.h>
  10. #include <AzToolsFramework/Entity/EditorEntityContextBus.h>
  11. namespace RecastNavigation
  12. {
  13. //! System component for RecastNavigation editor.
  14. class RecastNavigationEditorSystemComponent
  15. : public RecastNavigationSystemComponent
  16. , private AzToolsFramework::EditorEvents::Bus::Handler
  17. {
  18. using BaseSystemComponent = RecastNavigationSystemComponent;
  19. public:
  20. AZ_COMPONENT(RecastNavigationEditorSystemComponent, "{2f0e450d-6ded-4e92-952a-4aa855fdfff8}", BaseSystemComponent);
  21. static void Reflect(AZ::ReflectContext* context);
  22. RecastNavigationEditorSystemComponent();
  23. ~RecastNavigationEditorSystemComponent();
  24. private:
  25. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  26. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  27. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  28. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  29. //! AZ::Component overrides ...
  30. void Activate() override;
  31. void Deactivate() override;
  32. };
  33. } // namespace RecastNavigation