protected OnUserEncountered ( |
||
user | ||
Результат | void |
public IrcUser(IrcClient irc, string nick, IrcChannel chan) : this(irc) { m_nick = nick; m_comChans.Add(chan.Name, chan); irc.OnUserEncountered(this); }
public IrcUser(IrcClient irc, string nick, IrcChannel chan) : this(irc) { m_nick = nick; m_comChans.Add(chan.Name, chan); irc.OnUserEncountered(this); }
internal void ChangeNick(string newNick) { var oldNick = m_nick; if (oldNick == newNick) { return; } m_nick = newNick; foreach (var chan in m_comChans.Values) { chan.OnNickChange(this, oldNick); } //m_irc.Users.Remove(oldNick); m_irc.OnUserEncountered(this); }
public IrcUser(IrcClient irc, string mask) : this(irc) { Parse(mask); irc.OnUserEncountered(this); }
public IrcUser(IrcClient irc, string mask) : this(irc) { Parse(mask); irc.OnUserEncountered(this); }