Skip to content

Instantly share code, notes, and snippets.

@Nimelrian
Created June 14, 2015 22:57
Show Gist options
  • Save Nimelrian/9c2ec49b18d700fac6db to your computer and use it in GitHub Desktop.
Save Nimelrian/9c2ec49b18d700fac6db to your computer and use it in GitHub Desktop.
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