/* * 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 "RecastNavigationPhysXProviderComponent.h" #include #include #include #include AZ_DECLARE_BUDGET(Navigation); namespace RecastNavigation { RecastNavigationPhysXProviderComponent::RecastNavigationPhysXProviderComponent(const RecastNavigationPhysXProviderConfig& config) : BaseClass(config) { } void RecastNavigationPhysXProviderComponent::Reflect(AZ::ReflectContext* context) { BaseClass::Reflect(context); if (auto serializeContext = azrtti_cast(context)) { serializeContext->Class() ->Version(1); } if (auto behaviorContext = azrtti_cast(context)) { behaviorContext->ConstantProperty("RecastNavigationPhysXProviderComponentTypeId", BehaviorConstant(AZ::Uuid(RecastNavigationPhysXProviderComponentTypeId))) ->Attribute(AZ::Script::Attributes::Module, "navigation") ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common); behaviorContext->Class()->RequestBus("RecastNavigationProviderRequestBus"); } } } // namespace RecastNavigation