MultiplayerSampleSystemComponent.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * 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.
  3. *
  4. * SPDX-License-Identifier: Apache-2.0 OR MIT
  5. *
  6. */
  7. #pragma once
  8. #include <AzCore/Component/Component.h>
  9. namespace MultiplayerSample
  10. {
  11. class MultiplayerSampleSystemComponent
  12. : public AZ::Component
  13. {
  14. public:
  15. AZ_COMPONENT(MultiplayerSampleSystemComponent, "{7BF68D79-E870-44B5-853A-BA68FF4F0B90}");
  16. static void Reflect(AZ::ReflectContext* context);
  17. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  18. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  19. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  20. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  21. protected:
  22. ////////////////////////////////////////////////////////////////////////
  23. // AZ::Component interface implementation
  24. void Init() override;
  25. void Activate() override;
  26. void Deactivate() override;
  27. ////////////////////////////////////////////////////////////////////////
  28. static AZ::Uuid GetRenderSceneIdByName(const AZStd::string& name);
  29. };
  30. }