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
ConstructorDescriptionActionOmenInfo
(OmenType type, int rawEffectRange, int xAxisModifier, int coneAngle) Creates an instance of aActionOmenInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of theconeAngle
record component.final boolean
Indicates whether some other object is "equal to" this one.static ActionOmenInfo
fromAction
(long id) static @Nullable ActionOmenInfo
final int
hashCode()
Returns a hash code value for this object.boolean
int
Returns the value of therawEffectRange
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.int
Returns the value of thexAxisModifier
record component.
-
Constructor Details
-
ActionOmenInfo
Creates an instance of aActionOmenInfo
record class.- Parameters:
type
- the value for thetype
record componentrawEffectRange
- the value for therawEffectRange
record componentxAxisModifier
- the value for thexAxisModifier
record componentconeAngle
- the value for theconeAngle
record 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 thetype
record component.- Returns:
- the value of the
type
record component
-
rawEffectRange
public int rawEffectRange()Returns the value of therawEffectRange
record component.- Returns:
- the value of the
rawEffectRange
record component
-
xAxisModifier
public int xAxisModifier()Returns the value of thexAxisModifier
record component.- Returns:
- the value of the
xAxisModifier
record component
-
coneAngle
public int coneAngle()Returns the value of theconeAngle
record component.- Returns:
- the value of the
coneAngle
record component
-