Search in sources :

Example 1 with AnimationChanged

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

the class RSActorMixin method animationChanged.

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

Aggregations

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