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