SObjectSounds.h 547 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * SObjectSounds.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. VCMI_LIB_NAMESPACE_BEGIN
  12. struct SObjectSounds
  13. {
  14. std::vector<std::string> ambient;
  15. std::vector<std::string> visit;
  16. std::vector<std::string> removal;
  17. template <typename Handler> void serialize(Handler &h, const int version)
  18. {
  19. h & ambient;
  20. h & visit;
  21. h & removal;
  22. }
  23. };
  24. VCMI_LIB_NAMESPACE_END