GossipNewsEvent.cpp 479 B

12345678910111213141516
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-11-27
  6. * Changed: 2022-05-12
  7. *
  8. * */
  9. #include "GossipNewsEvent.hpp"
  10. ls_std_test::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. }