Enum WorldType

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

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

      • MEMBERS

        public static final WorldType MEMBERS
      • BOUNTY

        public static final WorldType BOUNTY
      • PVP_ARENA

        public static final WorldType PVP_ARENA
      • SKILL_TOTAL

        public static final WorldType SKILL_TOTAL
      • QUEST_SPEEDRUNNING

        public static final WorldType QUEST_SPEEDRUNNING
      • HIGH_RISK

        public static final WorldType HIGH_RISK
      • LAST_MAN_STANDING

        public static final WorldType LAST_MAN_STANDING
      • NOSAVE_MODE

        public static final WorldType NOSAVE_MODE
      • TOURNAMENT_WORLD

        public static final WorldType TOURNAMENT_WORLD
      • FRESH_START_WORLD

        public static final WorldType FRESH_START_WORLD
      • CASTLE_WARS

        public static final WorldType CASTLE_WARS
      • DEADMAN

        public static final WorldType DEADMAN
      • SEASONAL

        public static final WorldType SEASONAL
    • 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​(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
      • of

        public static java.util.EnumSet<WorldType> of​(int mask)
      • isPvp

        public static boolean isPvp​(java.util.Collection<WorldType> types)
      • getMask

        public int getMask()