GeneralCommands.cpp 417 B

12345678910111213141516
  1. #include "server/commands/GeneralCommands.h"
  2. void GeneralCommands::test(IGameServer& gs, ICommandSource& cs, vector<string>& args)
  3. {
  4. cout << "test command" << endl;
  5. for(unsigned long i = 0; i < args.size(); i++)
  6. {
  7. cout << " - " << args[i] << endl;
  8. }
  9. }
  10. void GeneralCommands::stop(IGameServer& gs, ICommandSource& cs, vector<string>& args)
  11. {
  12. cout << cs.isServer() << endl;
  13. gs.stop();
  14. }