Enum Skill

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Skill>

    public enum Skill
    extends java.lang.Enum<Skill>
    • Enum Constant Detail

      • ATTACK

        @SerializedName("Attack")
        public static final Skill ATTACK
      • DEFENCE

        @SerializedName("Defence")
        public static final Skill DEFENCE
      • STRENGTH

        @SerializedName("Strength")
        public static final Skill STRENGTH
      • HITPOINTS

        @SerializedName("Hitpoints")
        public static final Skill HITPOINTS
      • RANGED

        @SerializedName("Ranged")
        public static final Skill RANGED
      • PRAYER

        @SerializedName("Prayer")
        public static final Skill PRAYER
      • MAGIC

        @SerializedName("Magic")
        public static final Skill MAGIC
      • COOKING

        @SerializedName("Cooking")
        public static final Skill COOKING
      • WOODCUTTING

        @SerializedName("Woodcutting")
        public static final Skill WOODCUTTING
      • FLETCHING

        @SerializedName("Fletching")
        public static final Skill FLETCHING
      • FISHING

        @SerializedName("Fishing")
        public static final Skill FISHING
      • FIREMAKING

        @SerializedName("Firemaking")
        public static final Skill FIREMAKING
      • CRAFTING

        @SerializedName("Crafting")
        public static final Skill CRAFTING
      • SMITHING

        @SerializedName("Smithing")
        public static final Skill SMITHING
      • MINING

        @SerializedName("Mining")
        public static final Skill MINING
      • HERBLORE

        @SerializedName("Herblore")
        public static final Skill HERBLORE
      • AGILITY

        @SerializedName("Agility")
        public static final Skill AGILITY
      • THIEVING

        @SerializedName("Thieving")
        public static final Skill THIEVING
      • SLAYER

        @SerializedName("Slayer")
        public static final Skill SLAYER
      • FARMING

        @SerializedName("Farming")
        public static final Skill FARMING
      • RUNECRAFTING

        @SerializedName("Runecrafting")
        public static final Skill RUNECRAFTING
      • HUNTER

        @SerializedName("Hunter")
        public static final Skill HUNTER
      • CONSTRUCTION

        @SerializedName("Construction")
        public static final Skill CONSTRUCTION
    • Method Detail

      • values

        public static Skill[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Skill c : Skill.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Skill valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • forId

        public static Skill forId​(int id)
        Gets the skill that corresponds to the unique id.
        Parameters:
        id - The unique skill id.
        Returns:
        The skill that corresponds to the unique id.
      • getId

        public int getId()
        Gets the skill's unique id.
        Returns:
        The skill's unique id.
      • getChildWidget

        public int getChildWidget()
        Gets the skill's child widget id.
        Returns:
        The skill's child widget id.
      • getName

        public java.lang.String getName()
        Gets the skill's name.
        Returns:
        The skill's name.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<Skill>
      • getBoostedLevel

        public int getBoostedLevel()
      • getLevel

        public int getLevel()
      • getExperience

        public int getExperience()
      • getExperienceToLevel

        public int getExperienceToLevel()