Beispiel #1
0
 void Msgr_UserNicknameChanged(object sender, UserNicknameEventArgs e)
 {
     using (ConsoleExt.WithColor(eventColor))
         Console.WriteLine("{0} name changed to {1}", e.PreviousNickname ?? "(None)", e.Nickname ?? "(None)");
 }
 internal void OnUserNicknameChanged(UserNicknameEventArgs e)
 {
     EventHandler<UserNicknameEventArgs> handler = UserNicknameChanged;
     if (handler != null) handler(this, e);
 }