with this update, Changes to actor movement animation will fire the AnimationChanged Event
This commit is contained in:
@@ -193,6 +193,15 @@ public abstract class RSActorMixin implements RSActor
|
|||||||
client.getCallbacks().post(animationChange);
|
client.getCallbacks().post(animationChange);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@FieldHook("movementSequence")
|
||||||
|
@Inject
|
||||||
|
public void movementAnimationChanged(int idx)
|
||||||
|
{
|
||||||
|
AnimationChanged animationChange = new AnimationChanged();
|
||||||
|
animationChange.setActor(this);
|
||||||
|
client.getCallbacks().post(animationChange);
|
||||||
|
}
|
||||||
|
|
||||||
@FieldHook("spotAnimation")
|
@FieldHook("spotAnimation")
|
||||||
@Inject
|
@Inject
|
||||||
public void spotAnimationChanged(int idx)
|
public void spotAnimationChanged(int idx)
|
||||||
|
|||||||
Reference in New Issue
Block a user