ServerCore/Command.cpp
2021-08-05 13:07:53 -07:00

27 lines
468 B
C++

#include "Command.h"
#include "Log.h"
#include "CommandList.h"
namespace core {
int Command::processCommand(coreutils::ZString &request, TCPSession &session) {
return 0;
}
void Command::output(Session *session) {}
bool Command::check(coreutils::ZString request) {
return request[0].equals(name);
}
void Command::setName(std::string name) {
this->name = name;
}
std::string Command::getName() {
return name;
}
}