Search in sources :

Example 1 with GraphicChanged

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

the class RSActorMixin method graphicChanged.

@FieldHook("graphic")
@Inject
public void graphicChanged(int idx) {
    GraphicChanged graphicChanged = new GraphicChanged();
    graphicChanged.setActor(this);
    eventBus.post(graphicChanged);
}
Also used : GraphicChanged(net.runelite.api.events.GraphicChanged) Inject(net.runelite.api.mixins.Inject) FieldHook(net.runelite.api.mixins.FieldHook)

Aggregations

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