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); }
public void OnRemoveTaskbarItem(IWorldClient client, RemoveTaskbarItemPacket packet) { _taskbarSystem.RemoveItem(client.Player, packet.SlotLevelIndex, packet.SlotIndex); }