Package com.osrsbots.orb.api.events
Interface LevelUpListener
-
- All Superinterfaces:
com.osrsbots.orb.api.events.framework.EventListener
public interface LevelUpListener extends com.osrsbots.orb.api.events.framework.EventListenerTheNetworkListenerinterface defines methods for handling network-related events. Classes implementing this interface can be registered as listeners to receive notifications aboutServerclient connections and disconnections.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidonLevelUp(net.runelite.api.Skill skill, int lvl)Invoked when the Player gains a level increase!default com.osrsbots.orb.api.events.framework.ListenerTypetype()Returns the type of this listener, indicating its association with network events.
-
-
-
Method Detail
-
type
default com.osrsbots.orb.api.events.framework.ListenerType type()
Returns the type of this listener, indicating its association with network events.- Specified by:
typein interfacecom.osrsbots.orb.api.events.framework.EventListener- Returns:
- The
ListenerType.LEVEL_UP.
-
onLevelUp
void onLevelUp(net.runelite.api.Skill skill, int lvl)Invoked when the Player gains a level increase!- Parameters:
skill- The related Skilllvl- The new Level
-
-