Enum KitType

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

    public enum KitType
    extends java.lang.Enum<KitType>
    Represents an equipment slot in a players composition.

    These values are intended for use with PlayerComposition equipment slots. For obtaining information about equipment in the local players equipment ItemContainer, use EquipmentInventorySlot.

    • Enum Constant Detail

      • HEAD

        public static final KitType HEAD
      • CAPE

        public static final KitType CAPE
      • AMULET

        public static final KitType AMULET
      • WEAPON

        public static final KitType WEAPON
      • TORSO

        public static final KitType TORSO
      • SHIELD

        public static final KitType SHIELD
      • ARMS

        public static final KitType ARMS
      • LEGS

        public static final KitType LEGS
      • HAIR

        public static final KitType HAIR
      • HANDS

        public static final KitType HANDS
      • BOOTS

        public static final KitType BOOTS
      • JAW

        public static final KitType JAW
    • Method Detail

      • values

        public static KitType[] 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 (KitType c : KitType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KitType 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