Enum WorldType

    • Enum Constant Detail

      • MEMBERS

        public static final WorldType MEMBERS
        Members world type.
      • PVP

        public static final WorldType PVP
        Pvp world type.
      • BOUNTY

        public static final WorldType BOUNTY
        Bounty world type.
      • SKILL_TOTAL

        public static final WorldType SKILL_TOTAL
        Skill total world type.
      • HIGH_RISK

        public static final WorldType HIGH_RISK
        High risk world type.
      • LAST_MAN_STANDING

        public static final WorldType LAST_MAN_STANDING
        Last man standing world type.
      • TOURNAMENT

        public static final WorldType TOURNAMENT
        Tournament world type.
      • DEADMAN_TOURNAMENT

        public static final WorldType DEADMAN_TOURNAMENT
        Deadman Tournament world type.
      • DEADMAN

        public static final WorldType DEADMAN
        Deadman world type.
      • LEAGUE

        public static final WorldType LEAGUE
        League world type
    • Method Detail

      • values

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

        public static WorldType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromMask

        public static EnumSet<WorldType> fromMask​(int mask)
        Create enum set of world types from mask.
        Parameters:
        mask - the mask
        Returns:
        the enum set
      • toMask

        public static int toMask​(EnumSet<WorldType> types)
        Create mask from enum set of world types.
        Parameters:
        types - the types
        Returns:
        the int containing all mask