GossipNewsEvent.cpp 544 B

123456789101112131415161718
  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-05
  7. *
  8. * */
  9. #include "GossipNewsEvent.hpp"
  10. test::event::GossipNewsEvent::GossipNewsEvent(const ::std::string &_news) : ls::std::event::Event("GossipNewsEvent")
  11. {
  12. ls::std::core::type::event_parameter newsParameter = ::std::make_pair("news", _news);
  13. this->addParameter(newsParameter);
  14. }
  15. test::event::GossipNewsEvent::~GossipNewsEvent() = default;