ArchiveSystemComponent.cpp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. #include "ArchiveSystemComponent.h"
  9. #include <Archive/ArchiveTypeIds.h>
  10. #include <AzCore/Serialization/SerializeContext.h>
  11. namespace Archive
  12. {
  13. AZ_COMPONENT_IMPL(ArchiveSystemComponent, "ArchiveSystemComponent",
  14. ArchiveSystemComponentTypeId);
  15. void ArchiveSystemComponent::Reflect(AZ::ReflectContext* context)
  16. {
  17. if (auto serializeContext = azrtti_cast<AZ::SerializeContext*>(context))
  18. {
  19. serializeContext->Class<ArchiveSystemComponent, AZ::Component>()
  20. ->Version(0)
  21. ;
  22. }
  23. }
  24. void ArchiveSystemComponent::GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided)
  25. {
  26. provided.push_back(AZ_CRC_CE("ArchiveService"));
  27. }
  28. void ArchiveSystemComponent::GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible)
  29. {
  30. incompatible.push_back(AZ_CRC_CE("ArchiveService"));
  31. }
  32. void ArchiveSystemComponent::GetRequiredServices([[maybe_unused]] AZ::ComponentDescriptor::DependencyArrayType& required)
  33. {
  34. }
  35. void ArchiveSystemComponent::GetDependentServices([[maybe_unused]] AZ::ComponentDescriptor::DependencyArrayType& dependent)
  36. {
  37. }
  38. ArchiveSystemComponent::ArchiveSystemComponent() = default;
  39. ArchiveSystemComponent::~ArchiveSystemComponent() = default;
  40. void ArchiveSystemComponent::Init()
  41. {
  42. }
  43. void ArchiveSystemComponent::Activate()
  44. {
  45. }
  46. void ArchiveSystemComponent::Deactivate()
  47. {
  48. }
  49. } // namespace Archive