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