GossipNewsEvent.cpp 458 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: 2020-11-27
  7. *
  8. * */
  9. #include "GossipNewsEvent.hpp"
  10. ls_std_test::GossipNewsEvent::GossipNewsEvent(const std::string& _news) : ls_std::Event("GossipNewsEvent")
  11. {
  12. ls_std::event_parameter newsParameter = std::make_pair("news", _news);
  13. this->addParameter(newsParameter);
  14. }