GossipNewsEvent.cpp 618 B

123456789101112131415161718192021222324
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-11-27
  6. * Changed: 2023-02-23
  7. *
  8. * */
  9. #include "GossipNewsEvent.hpp"
  10. using ls::std::core::type::event_parameter;
  11. using ls::std::event::Event;
  12. using std::make_pair;
  13. using std::string;
  14. using test::event::GossipNewsEvent;
  15. GossipNewsEvent::GossipNewsEvent(const string &_news) : Event("GossipNewsEvent")
  16. {
  17. event_parameter newsParameter = make_pair("news", _news);
  18. this->addParameter(newsParameter);
  19. }
  20. GossipNewsEvent::~GossipNewsEvent() = default;