GeneralCommands.cpp 422 B

1234567891011121314151617
  1. #include <iostream>
  2. #include "server/commands/GeneralCommands.h"
  3. void GeneralCommands::test(ServerCommands& /*sc*/, const std::vector<std::string>& args)
  4. {
  5. std::cout << "test command" << std::endl;
  6. for(size_t i = 0; i < args.size(); i++)
  7. {
  8. std::cout << " - " << args[i] << std::endl;
  9. }
  10. }
  11. void GeneralCommands::stop(ServerCommands& sc, const std::vector<std::string>& /*args*/)
  12. {
  13. sc.stop();
  14. }