#include #include "server/commands/GeneralCommands.h" void GeneralCommands::test(IGameServer& gs, ICommandSource& cs, const std::vector& args) { std::cout << "test command" << std::endl; for(unsigned long i = 0; i < args.size(); i++) { std::cout << " - " << args[i] << std::endl; } } void GeneralCommands::stop(IGameServer& gs, ICommandSource& cs, const std::vector& args) { std::cout << cs.isServer() << std::endl; gs.stop(); }