示例#1
0
 public static void send(TwitchIRC irc, string channel)
 {
     new IRCPartCommand(channel).sendCommand(irc);
 }
示例#2
0
 public static void send(TwitchIRC irc, string request)
 {
     new IRCCapCommand(request).sendCommand(irc);
 }
示例#3
0
 public static void send(TwitchIRC irc, string name)
 {
     new IRCNickCommand(name).sendCommand(irc);
 }
示例#4
0
 public static void send(TwitchIRC irc, string uname, string real)
 {
     new IRCUserCommand(uname, "localhost", TwitchIRC.SERVER, real).sendCommand(irc);
 }
示例#5
0
 public static void send(TwitchIRC irc)
 {
     send(irc, new string[0]);
 }
示例#6
0
 public void sendCommand(TwitchIRC irc)
 {
     irc.SendRawCommand(Command + (string.IsNullOrWhiteSpace(Body) ? "" : " " + Body));
 }
示例#7
0
 public static void send(TwitchIRC irc, string[] ch)
 {
     new IRCListCommand(ch).sendCommand(irc);
 }
示例#8
0
 public static void send(TwitchIRC irc, string msg)
 {
     new IRCQuitCommand(msg).sendCommand(irc);
 }
示例#9
0
 public static void send(TwitchIRC irc)
 {
     new IRCQuitCommand().sendCommand(irc);
 }
示例#10
0
 public static void send(TwitchIRC irc, OAuthBaseRequest req)
 {
     new IRCPassCommand(req).sendCommand(irc);
 }
示例#11
0
 public static void send(TwitchIRC irc, string oAuth)
 {
     new IRCPassCommand(oAuth).sendCommand(irc);
 }