Class Skills


  • public class Skills
    extends java.lang.Object
    A class that provides methods to retrieve skill-related information such as experience, levels, total level, and total experience.
    • Constructor Summary

      Constructors 
      Constructor Description
      Skills()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getBoostedLevels​(Skill skill)
      Returns the boosted level of the specified skill.
      static int getExperience​(Skill skill)
      Retrieves the experience value for a given skill.
      static int getExperienceAt​(int level)
      Returns the experience required to reach a specific level.
      static int getExperienceToNextLevel​(Skill skill)
      Calculates the experience needed to reach the next level for a given skill.
      static int getRealLevel​(Skill skill)
      Returns the real level of the specified skill.
      static long getTotalExperience()
      Returns the total overall experience of the client.
      static int getTotalLevel()
      Retrieves the total level of the client.
      static int getVirtualLevel​(Skill skill)
      Returns the virtual level of the specified skill.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Skills

        public Skills()
    • Method Detail

      • getExperience

        public static int getExperience​(Skill skill)
        Retrieves the experience value for a given skill.
        Parameters:
        skill - the skill for which to retrieve the experience value
        Returns:
        the experience value for the specified skill, or 0 if not found
      • getRealLevel

        public static int getRealLevel​(Skill skill)
        Returns the real level of the specified skill.
        Parameters:
        skill - the skill for which the real level is to be retrieved
        Returns:
        the real level of the specified skill
      • getVirtualLevel

        public static int getVirtualLevel​(Skill skill)
        Returns the virtual level of the specified skill.
        Parameters:
        skill - the skill for which virtual real level is to be retrieved
        Returns:
        the virtual level of the specified skill
      • getBoostedLevels

        public static int getBoostedLevels​(Skill skill)
        Returns the boosted level of the specified skill.
        Parameters:
        skill - the skill to retrieve the boosted level of
        Returns:
        the boosted level of the specified skill
      • getTotalLevel

        public static int getTotalLevel()
        Retrieves the total level of the client.
        Returns:
        the total level of the client
      • getTotalExperience

        public static long getTotalExperience()
        Returns the total overall experience of the client.
        Returns:
        The total overall experience as a long.
      • getExperienceAt

        public static int getExperienceAt​(int level)
        Returns the experience required to reach a specific level.
        Parameters:
        level - the level for which to retrieve the experience
        Returns:
        the experience required to reach the specified level, or 0 if the level is invalid
      • getExperienceToNextLevel

        public static int getExperienceToNextLevel​(Skill skill)
        Calculates the experience needed to reach the next level for a given skill.
        Parameters:
        skill - the skill to calculate the experience for
        Returns:
        the experience needed to reach the next level