Exemple #1
0
 internal JoinEvent(bool outgoing, User sender, Channel channel, string key)
     : base(outgoing)
 {
     _sender = sender;
     _channel = channel;
     _key = key ?? "";
 }
Exemple #2
0
 internal KickEvent(bool outgoing, User sender, Channel channel, User target, string message)
     : base(outgoing)
 {
     _sender = sender;
     _channel = channel;
     _target = target;
     _message = message;
 }
Exemple #3
0
 public Channel[] GetChannels()
 {
     Channel[] ch = new Channel[_channels.Count];
     int i = 0;
     foreach (ChannelData cd in _channels) {
         ch[i] = (Channel)cd;
         i++;
     }
     return ch;
 }
Exemple #4
0
 internal ChannelCtcpEvent(bool outgoing, User sender, Channel target, CtcpType type, string message)
     : base(outgoing, sender, target, type, message)
 {
 }
Exemple #5
0
 internal ChannelModeEvent(bool outgoing, User sender, Channel channel, string mode)
     : base(outgoing, channel, mode)
 {
     _sender = sender;
     _channel = channel;
 }
Exemple #6
0
 internal TopicEvent(bool outgoing, User sender, Channel channel, string topic)
     : base(outgoing)
 {
     _sender = sender;
     _channel = channel;
     _topic = topic;
 }
Exemple #7
0
 internal PartEvent(bool outgoing, User sender, Channel channel, string message)
     : base(outgoing)
 {
     _sender = sender;
     _channel = channel;
     _message = message ?? "";
 }
Exemple #8
0
 internal ChannelMessageEvent(bool outgoing, User sender, Channel target, MessageType mtype, string message)
     : base(outgoing, sender, target, mtype, message)
 {
 }