Record Class CalloutInitialValues
java.lang.Object
java.lang.Record
gg.xp.xivsupport.events.triggers.util.CalloutInitialValues
- All Implemented Interfaces:
HasEvent
-
Constructor Summary
ConstructorDescriptionCalloutInitialValues
(long ms, String tts, String text, @Nullable Event event) Creates an instance of aCalloutInitialValues
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.@Nullable Event
event()
Returns the value of theevent
record component.int
hashCode()
Returns a hash code value for this object.long
ms()
Returns the value of thems
record component.text()
Returns the value of thetext
record component.toString()
Returns a string representation of this record class.tts()
Returns the value of thetts
record component.
-
Constructor Details
-
CalloutInitialValues
Creates an instance of aCalloutInitialValues
record class.- Parameters:
ms
- the value for thems
record componenttts
- the value for thetts
record componenttext
- the value for thetext
record componentevent
- the value for theevent
record component
-
-
Method Details
-
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 '=='. -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
toStringShort
-
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. -
ms
public long ms()Returns the value of thems
record component.- Returns:
- the value of the
ms
record component
-
tts
Returns the value of thetts
record component.- Returns:
- the value of the
tts
record component
-
text
Returns the value of thetext
record component.- Returns:
- the value of the
text
record component
-
event
Returns the value of theevent
record component.
-