Example #1
0
        public static void OnRemoveTaskbarApplet(WorldClient client, INetPacketStream packet)
        {
            var removeTaskbarAppletPacket    = new RemoveTaskbarAppletPacket(packet);
            var removeTaskbarAppletEventArgs = new RemoveTaskbarAppletEventArgs(removeTaskbarAppletPacket.SlotIndex);

            client.Player.NotifySystem <TaskbarSystem>(removeTaskbarAppletEventArgs);
        }
Example #2
0
 private void HandleRemoveAppletTaskbarShortcut(IPlayerEntity player, RemoveTaskbarAppletEventArgs e)
 {
     player.Taskbar.Applets.RemoveShortcut(e.SlotIndex);
     Logger.LogDebug("Removed Shortcut on slot {0} of player {1} on the Applet Taskbar", e.SlotIndex, player.Object.Name);
 }