Search in sources :

Example 1 with DraggingWidgetChanged

use of net.runelite.api.events.DraggingWidgetChanged in project runelite by runelite.

the class RSClientMixin method draggingWidgetChanged.

@FieldHook("draggingWidget")
@Inject
public static void draggingWidgetChanged(int idx) {
    DraggingWidgetChanged draggingWidgetChanged = new DraggingWidgetChanged();
    draggingWidgetChanged.setDraggingWidget(client.isDraggingWidget());
    eventBus.post(draggingWidgetChanged);
}
Also used : DraggingWidgetChanged(net.runelite.api.events.DraggingWidgetChanged) Inject(net.runelite.api.mixins.Inject) FieldHook(net.runelite.api.mixins.FieldHook)

Aggregations

DraggingWidgetChanged (net.runelite.api.events.DraggingWidgetChanged)1 FieldHook (net.runelite.api.mixins.FieldHook)1 Inject (net.runelite.api.mixins.Inject)1