Exemple #1
0
 internal KickEvent(User sender, Channel channel, User target, string message)
 {
     _sender = sender;
     _channel = channel;
     _target = target;
     _message = message;
 }
Exemple #2
0
 internal TopicEvent(User sender, Channel channel, string topic)
 {
     _sender = sender;
     _channel = channel;
     _topic = topic;
 }
Exemple #3
0
 internal JoinEvent(User sender, Channel channel)
 {
     _sender = sender;
     _channel = channel;
 }
Exemple #4
0
 internal PartEvent(User sender, Channel channel, string message)
 {
     _sender = sender;
     _channel = channel;
     _message = message;
 }
Exemple #5
0
 internal ChannelMessageEvent(User sender, Channel target, MessageType mtype, string message)
     : base(sender, target, mtype, message)
 {
 }
Exemple #6
0
 internal ChannelModeEvent(User sender, Channel channel, string mode)
     : base(channel, mode)
 {
     _sender = sender;
     _channel = channel;
 }
Exemple #7
0
 /// <summary>
 /// Gets all channels known by IRCQueue.
 /// </summary>
 /// <returns>An array containing all known channels.</returns>
 public Channel[] GetChannels() {
     IRC.ChannelData[] cl;
     lock (Cs.Irc.Entities) cl = Cs.Irc.Entities.GetChannels();
     Channel[] ncl = new Channel[cl.Length];
     for (int i = 0; i < cl.Length; i++) {
         ncl[i] = (Channel)cl[i];
     }
     return ncl;
 }