MPSGameLiftSystemComponent.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #pragma once
  2. #include <AzCore/Component/Component.h>
  3. #include <AzCore/Component/TickBus.h>
  4. #include <MPSGameLift/MPSGameLiftBus.h>
  5. namespace MPSGameLift
  6. {
  7. class MPSGameLiftSystemComponent
  8. : public AZ::Component
  9. , protected MPSGameLiftRequestBus::Handler
  10. {
  11. public:
  12. AZ_COMPONENT(MPSGameLiftSystemComponent, "{FEDB720B-2B15-423D-8596-41E9E3FBBC3B}");
  13. static void Reflect(AZ::ReflectContext* context);
  14. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  15. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  16. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  17. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  18. MPSGameLiftSystemComponent();
  19. ~MPSGameLiftSystemComponent();
  20. protected:
  21. ////////////////////////////////////////////////////////////////////////
  22. // MPSGameLiftRequestBus interface implementation
  23. ////////////////////////////////////////////////////////////////////////
  24. ////////////////////////////////////////////////////////////////////////
  25. // AZ::Component interface implementation
  26. void Init() override;
  27. void Activate() override;
  28. void Deactivate() override;
  29. ////////////////////////////////////////////////////////////////////////
  30. };
  31. } // namespace MPSGameLift