Enum Class WorldType

java.lang.Object
java.lang.Enum<WorldType>
com.epicbot.api.shared.model.WorldType
All Implemented Interfaces:
Serializable, Comparable<WorldType>, Constable

public enum WorldType extends Enum<WorldType>
  • Enum Constant Details

    • 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.
    • PVP_ARENA

      public static final WorldType PVP_ARENA
      PVP arena world type.
    • SKILL_TOTAL

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

      public static final WorldType QUEST_SPEEDRUNNING
      Quest speedrunning
    • 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.
    • BETA_WORLD

      public static final WorldType BETA_WORLD
      Beta world.
    • LEGACY_ONLY

      public static final WorldType LEGACY_ONLY
    • EOC_ONLY

      public static final WorldType EOC_ONLY
    • NOSAVE_MODE

      public static final WorldType NOSAVE_MODE
      Beta worlds without profiles that are saved.
    • TOURNAMENT_WORLD

      public static final WorldType TOURNAMENT_WORLD
      Tournament world type
    • FRESH_START_WORLD

      public static final WorldType FRESH_START_WORLD
      Fresh start world type
    • DEADMAN

      public static final WorldType DEADMAN
      Deadman world type.
    • SEASONAL

      public static final WorldType SEASONAL
      Seasonal world type for leagues and seasonal deadman.
  • Method Details

    • values

      public static WorldType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WorldType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
    • isPvpWorld

      public static boolean isPvpWorld(Collection<WorldType> worldTypes)
      Checks whether a world having a Collection of WorldTypes is a PVP world.
      Parameters:
      worldTypes - A Collection of WorldTypes describing the given world.
      Returns:
      True if the given worldtypes of the world are a PVP world, false otherwise.