private void HandleGlobalMsgPacket(string message) { AppendChat(Color.Red, Color.Red, "Global Broadcast", message); if (ShowChatNotifications && !IsForegroundWindow) { Auxilium.FlashWindow(this.Handle, true); niChat.ShowBalloonTip(100, "Global Broadcast", message, ToolTipIcon.Info); } }
//TODO: Suport custom server colors? private void HandleChatterPacket(ushort id, string message) { string name = Users[id]; AppendChat(Color.Blue, Color.Black, name, message); if (ShowChatNotifications && !IsForegroundWindow) { Auxilium.FlashWindow(this.Handle, true); niChat.ShowBalloonTip(100, name, message, ToolTipIcon.Info); } }