AWSGameLiftClientEditorSystemComponent.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 <AWSGameLiftClientSystemComponent.h>
  10. #include <AzToolsFramework/ActionManager/ActionManagerRegistrationNotificationBus.h>
  11. namespace AWSGameLift
  12. {
  13. //! Gem client system component. Responsible for creating the gamelift client manager.
  14. class AWSGameLiftClientEditorSystemComponent
  15. : public AZ::Component
  16. , private AzToolsFramework::ActionManagerRegistrationNotificationBus::Handler
  17. {
  18. public:
  19. AZ_COMPONENT(AWSGameLiftClientEditorSystemComponent, "{AE1388B1-542A-4B49-8B4F-48988D78AD67}");
  20. AWSGameLiftClientEditorSystemComponent();
  21. static void Reflect(AZ::ReflectContext* context);
  22. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  23. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  24. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  25. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  26. protected:
  27. // AZ::Component overrides ...
  28. void Activate() override;
  29. void Deactivate() override;
  30. // ActionManagerRegistrationNotificationBus overrides ...
  31. void OnMenuBindingHook() override;
  32. };
  33. } // namespace AWSGameLift