IRC parsing, tokenization, and state handling in C#
at tunit 23 lines 749 B view raw
1// ReSharper disable IdentifierTypo 2 3namespace IRCStates; 4 5public static class Commands 6{ 7 public const string Nick = "NICK"; 8 public const string Join = "JOIN"; 9 public const string Mode = "MODE"; 10 public const string Part = "PART"; 11 public const string Kick = "KICK"; 12 public const string Quit = "QUIT"; 13 public const string Error = "ERROR"; 14 public const string Topic = "TOPIC"; 15 public const string Privmsg = "PRIVMSG"; 16 public const string Notice = "NOTICE"; 17 public const string Tagmsg = "TAGMSG"; 18 public const string Chghost = "CHGHOST"; 19 public const string Setname = "SETNAME"; 20 public const string Away = "AWAY"; 21 public const string Account = "ACCOUNT"; 22 public const string Cap = "CAP"; 23}