use of net.runelite.api.events.BoostedLevelChanged in project runelite by runelite.
the class RSClientMixin method boostedSkillLevelsChanged.
@FieldHook("boostedSkillLevels")
@Inject
public static void boostedSkillLevelsChanged(int idx) {
Skill[] skills = Skill.values();
if (idx >= 0 && idx < skills.length - 1) {
Skill updatedSkill = skills[idx];
BoostedLevelChanged boostedLevelChanged = new BoostedLevelChanged();
boostedLevelChanged.setSkill(updatedSkill);
eventBus.post(boostedLevelChanged);
}
}
Aggregations