/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include #include namespace RecastNavigation { void RecastNavigationEditorSystemComponent::Reflect(AZ::ReflectContext* context) { if (auto serializeContext = azrtti_cast(context)) { serializeContext->Class() ->Version(0); } } RecastNavigationEditorSystemComponent::RecastNavigationEditorSystemComponent() = default; RecastNavigationEditorSystemComponent::~RecastNavigationEditorSystemComponent() = default; void RecastNavigationEditorSystemComponent::GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided) { BaseSystemComponent::GetProvidedServices(provided); provided.push_back(AZ_CRC_CE("RecastNavigationEditorService")); } void RecastNavigationEditorSystemComponent::GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible) { BaseSystemComponent::GetIncompatibleServices(incompatible); incompatible.push_back(AZ_CRC_CE("RecastNavigationEditorService")); } void RecastNavigationEditorSystemComponent::GetRequiredServices([[maybe_unused]] AZ::ComponentDescriptor::DependencyArrayType& required) { BaseSystemComponent::GetRequiredServices(required); } void RecastNavigationEditorSystemComponent::GetDependentServices([[maybe_unused]] AZ::ComponentDescriptor::DependencyArrayType& dependent) { BaseSystemComponent::GetDependentServices(dependent); } void RecastNavigationEditorSystemComponent::Activate() { RecastNavigationSystemComponent::Activate(); AzToolsFramework::EditorEvents::Bus::Handler::BusConnect(); } void RecastNavigationEditorSystemComponent::Deactivate() { AzToolsFramework::EditorEvents::Bus::Handler::BusDisconnect(); RecastNavigationSystemComponent::Deactivate(); } } // namespace RecastNavigation