EventData.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 <EMotionFX/Source/EventData.h>
  10. namespace AZ
  11. {
  12. class ReflectContext;
  13. }
  14. namespace EMotionFX::MotionMatching
  15. {
  16. class EMFX_API DiscardFrameEventData
  17. : public EventData
  18. {
  19. public:
  20. AZ_RTTI(DiscardFrameEventData, "{25499823-E611-4958-85B7-476BC1918744}", EventData);
  21. AZ_CLASS_ALLOCATOR_DECL
  22. DiscardFrameEventData() = default;
  23. ~DiscardFrameEventData() override = default;
  24. static void Reflect(AZ::ReflectContext* context);
  25. bool Equal(const EventData& rhs, bool ignoreEmptyFields = false) const override;
  26. private:
  27. AZStd::string m_tag;
  28. };
  29. class EMFX_API TagEventData
  30. : public EventData
  31. {
  32. public:
  33. AZ_RTTI(TagEventData, "{FEFEA2C7-CD68-43B2-94D6-85559E29EABF}", EventData);
  34. AZ_CLASS_ALLOCATOR_DECL
  35. TagEventData() = default;
  36. ~TagEventData() override = default;
  37. static void Reflect(AZ::ReflectContext* context);
  38. bool Equal(const EventData& rhs, bool ignoreEmptyFields = false) const override;
  39. private:
  40. AZStd::string m_tag;
  41. };
  42. } // namespace EMotionFX::MotionMatching