Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
std::unordered_map<std::string, IRCMessage::Command> IRCMessage::m_commandMap =
{
{ "ADMIN", Command::ADMIN },
{ "AWAY", Command::AWAY },
{ "CNOTICE", Command::CNOTICE },
{ "CPRIVMSG", Command::CPRIVMSG },
{ "CONNECT", Command::CONNECT },
{ "DIE", Command::DIE },
{ "ENCAP", Command::ENCAP },
{ "ERROR", Command::ERROR },
{ "HELP", Command::HELP },
{ "INFO", Command::INFO },
{ "INVITE", Command::INVITE },
{ "ISON", Command::ISON },
{ "JOIN", Command::JOIN },
{ "KICK", Command::KICK },
{ "KILL", Command::KILL },
{ "KNOCK", Command::KNOCK },
{ "LINKS", Command::LINKS },
{ "LIST", Command::LIST },
{ "LUSERS", Command::LUSERS },
{ "MODE", Command::MODE },
{ "MOTD", Command::MOTD },
{ "NAMES", Command::NAMES },
{ "NAMESX", Command::NAMESX },
{ "NICK", Command::NICK },
{ "NOTICE", Command::NOTICE },
{ "OPER", Command::OPER },
{ "PART", Command::PART },
{ "PASS", Command::PASS },
{ "PING", Command::PING },
{ "PONG", Command::PONG },
{ "PRIVMSG", Command::PRIVMSG },
{ "QUIT", Command::QUIT },
{ "REHASH", Command::REHASH },
{ "RESTART", Command::RESTART },
{ "RULES", Command::RULES },
{ "SERVER", Command::SERVER },
{ "SERVICE", Command::SERVICE },
{ "SERVLIST", Command::SERVLIST },
{ "SQUERY", Command::SQUERY },
{ "SQUIT", Command::SQUIT },
{ "SETNAME", Command::SETNAME },
{ "SILENCE", Command::SILENCE },
{ "STATS", Command::STATS },
{ "SUMMON", Command::SUMMON },
{ "TIME", Command::TIME },
{ "TOPIC", Command::TOPIC },
{ "TRACE", Command::TRACE },
{ "UHNAMES", Command::UHNAMES },
{ "USER", Command::USER },
{ "USERHOST", Command::USERHOST },
{ "USERIP", Command::USERIP },
{ "USERS", Command::USERS },
{ "VERSION", Command::VERSION },
{ "WALLOPS", Command::WALLOPS },
{ "WATCH", Command::WATCH },
{ "WHO", Command::WHO },
{ "WHOIS", Command::WHOIS },
{ "WHOWAS", Command::WHOWAS }
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.