예제 #1
0
 private void OnNamesEnd(IrcClient sender, IrcNumerics numeric, IrcEventArgs e)
 {
 }
예제 #2
0
 public Channel(IrcClient irc, String name)
 {
     Irc  = irc;
     Name = name;
 }
예제 #3
0
 protected void OnKick(IrcClient sender, IrcEventArgs e)
 {
     Channels[e.Target].PerformKick(sender, e);
 }
예제 #4
0
 protected void OnChannelMode(IrcClient sender, IrcEventArgs e)
 {
     Channels[e.Target].PerformMessage(sender, e);
 }
예제 #5
0
 protected void OnPublicNotice(IrcClient sender, IrcEventArgs e)
 {
     Channels[e.Target].PerformMessage(this, e);
 }
예제 #6
0
 protected void OnTopic(IrcClient sender, IrcNumerics numeric, IrcEventArgs e)
 {
     Channels[e.Args.First()].PerformTopic(this, e);
 }
예제 #7
0
 protected void OnDisconnect(IrcClient sender, IrcEventArgs e)
 {
     Connected = false;
 }
예제 #8
0
 protected void OnConnect(IrcClient sender, IrcEventArgs e)
 {
     ConnectionTime    = DateTime.UtcNow;
     reconnectAttempts = 0;
     Connected         = true;
 }
예제 #9
0
 protected void OnCTCPVersion(IrcClient sender, IrcEventArgs e)
 {
     Raw("NOTICE {0} :{1}VERSION {2}{1}", Hostmask.ToNick(e.Sender), (char)1, config.Version);
 }