Package gg.xp.xivsupport.gui.map.omen
Record Class ActionOmenInfo
java.lang.Object
java.lang.Record
gg.xp.xivsupport.gui.map.omen.ActionOmenInfo
-
Constructor Summary
ConstructorsConstructorDescriptionActionOmenInfo(OmenType type, int rawEffectRange, int xAxisModifier, int coneAngle) Creates an instance of aActionOmenInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theconeAnglerecord component.final booleanIndicates whether some other object is "equal to" this one.static ActionOmenInfofromAction(long id) static @Nullable ActionOmenInfofinal inthashCode()Returns a hash code value for this object.booleanintReturns the value of therawEffectRangerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.intReturns the value of thexAxisModifierrecord component.
-
Constructor Details
-
ActionOmenInfo
Creates an instance of aActionOmenInforecord class.- Parameters:
type- the value for thetyperecord componentrawEffectRange- the value for therawEffectRangerecord componentxAxisModifier- the value for thexAxisModifierrecord componentconeAngle- the value for theconeAnglerecord component
-
-
Method Details
-
fromAction
-
fromActionInfo
-
isRaidwide
public boolean isRaidwide() -
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
rawEffectRange
public int rawEffectRange()Returns the value of therawEffectRangerecord component.- Returns:
- the value of the
rawEffectRangerecord component
-
xAxisModifier
public int xAxisModifier()Returns the value of thexAxisModifierrecord component.- Returns:
- the value of the
xAxisModifierrecord component
-
coneAngle
public int coneAngle()Returns the value of theconeAnglerecord component.- Returns:
- the value of the
coneAnglerecord component
-