Record Class ActionInfo

java.lang.Object
java.lang.Record
gg.xp.xivdata.data.ActionInfo

public record ActionInfo(long actionid, String name, long iconId, long cdRaw, int maxCharges, String categoryRaw, boolean isPlayerAbility, long castTimeRaw, int castType, int effectRange, int xAxisModifier, int coneAngle) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    ActionInfo(long actionid, String name, long iconId, long cdRaw, int maxCharges, String categoryRaw, boolean isPlayerAbility, long castTimeRaw, int castType, int effectRange, int xAxisModifier, int coneAngle)
    Creates an instance of a ActionInfo record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the value of the actionid record component.
    long
    Returns the value of the castTimeRaw record component.
    int
    Returns the value of the castType record component.
    Returns the value of the categoryRaw record component.
    long
    Returns the value of the cdRaw record component.
    int
    Returns the value of the coneAngle record component.
    int
    Returns the value of the effectRange record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    double
     
    double
     
    @Nullable ActionIcon
     
     
    final int
    Returns a hash code value for this object.
    long
    Returns the value of the iconId record component.
    boolean
    Returns the value of the isPlayerAbility record component.
    int
    Returns the value of the maxCharges record component.
    Returns the value of the name record component.
    final String
    Returns a string representation of this record class.
    int
    Returns the value of the xAxisModifier record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ActionInfo

      public ActionInfo(long actionid, String name, long iconId, long cdRaw, int maxCharges, String categoryRaw, boolean isPlayerAbility, long castTimeRaw, int castType, int effectRange, int xAxisModifier, int coneAngle)
      Creates an instance of a ActionInfo record class.
      Parameters:
      actionid - the value for the actionid record component
      name - the value for the name record component
      iconId - the value for the iconId record component
      cdRaw - the value for the cdRaw record component
      maxCharges - the value for the maxCharges record component
      categoryRaw - the value for the categoryRaw record component
      isPlayerAbility - the value for the isPlayerAbility record component
      castTimeRaw - the value for the castTimeRaw record component
      castType - the value for the castType record component
      effectRange - the value for the effectRange record component
      xAxisModifier - the value for the xAxisModifier record component
      coneAngle - the value for the coneAngle record component
  • Method Details

    • getIcon

      @Nullable public @Nullable ActionIcon getIcon()
    • getXivapiUrl

      public URL getXivapiUrl()
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • getCd

      public double getCd()
    • getCastTime

      public double getCastTime()
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • actionid

      public long actionid()
      Returns the value of the actionid record component.
      Returns:
      the value of the actionid record component
    • iconId

      public long iconId()
      Returns the value of the iconId record component.
      Returns:
      the value of the iconId record component
    • cdRaw

      public long cdRaw()
      Returns the value of the cdRaw record component.
      Returns:
      the value of the cdRaw record component
    • maxCharges

      public int maxCharges()
      Returns the value of the maxCharges record component.
      Returns:
      the value of the maxCharges record component
    • categoryRaw

      public String categoryRaw()
      Returns the value of the categoryRaw record component.
      Returns:
      the value of the categoryRaw record component
    • isPlayerAbility

      public boolean isPlayerAbility()
      Returns the value of the isPlayerAbility record component.
      Returns:
      the value of the isPlayerAbility record component
    • castTimeRaw

      public long castTimeRaw()
      Returns the value of the castTimeRaw record component.
      Returns:
      the value of the castTimeRaw record component
    • castType

      public int castType()
      Returns the value of the castType record component.
      Returns:
      the value of the castType record component
    • effectRange

      public int effectRange()
      Returns the value of the effectRange record component.
      Returns:
      the value of the effectRange record component
    • xAxisModifier

      public int xAxisModifier()
      Returns the value of the xAxisModifier record component.
      Returns:
      the value of the xAxisModifier record component
    • coneAngle

      public int coneAngle()
      Returns the value of the coneAngle record component.
      Returns:
      the value of the coneAngle record component