Beispiel #1
0
        public static void OnRemoveTaskbarItem(WorldClient client, INetPacketStream packet)
        {
            var removeTaskbarItemPacket    = new RemoveTaskbarItemPacket(packet);
            var removeTaskbarItemEventArgs = new RemoveTaskbarItemEventArgs(removeTaskbarItemPacket.SlotLevelIndex, removeTaskbarItemPacket.SlotIndex);

            client.Player.NotifySystem <TaskbarSystem>(removeTaskbarItemEventArgs);
        }
Beispiel #2
0
 public void OnRemoveTaskbarItem(IWorldClient client, RemoveTaskbarItemPacket packet)
 {
     _taskbarSystem.RemoveItem(client.Player, packet.SlotLevelIndex, packet.SlotIndex);
 }