Enum Class OmenType

java.lang.Object
java.lang.Enum<OmenType>
gg.xp.xivsupport.gui.map.omen.OmenType
All Implemented Interfaces:
HasFriendlyName, Serializable, Comparable<OmenType>, Constable

public enum OmenType extends Enum<OmenType> implements HasFriendlyName
Represents the properties we can infer from the "CastType" column
  • Enum Constant Details

    • CIRCLE

      public static final OmenType CIRCLE
    • CIRCLE_HB

      public static final OmenType CIRCLE_HB
    • DONUT

      public static final OmenType DONUT
    • DONUT_HB

      public static final OmenType DONUT_HB
    • RECTANGLE

      public static final OmenType RECTANGLE
    • RECTANGLE_HB

      public static final OmenType RECTANGLE_HB
    • CONE

      public static final OmenType CONE
    • CONE_HB

      public static final OmenType CONE_HB
    • CROSS

      public static final OmenType CROSS
    • RECTANGLE_FRONT_BACK

      public static final OmenType RECTANGLE_FRONT_BACK
  • Method Details

    • values

      public static OmenType[] 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 OmenType 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
    • getFriendlyName

      public String getFriendlyName()
      Specified by:
      getFriendlyName in interface HasFriendlyName
    • fromCastType

      @Nullable public static @Nullable OmenType fromCastType(int castType)
    • shape

      public OmenShape shape()
    • addHitbox

      public boolean addHitbox()
    • locationType

      public OmenLocationType locationType()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<OmenType>