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