Record Class ClientCutsceneManager.QueuedCutscene
java.lang.Object
java.lang.Record
de.luckymcdev.foundryengine.client.cutscene.ClientCutsceneManager.QueuedCutscene
- Enclosing class:
ClientCutsceneManager
public static record ClientCutsceneManager.QueuedCutscene(ClientCutsceneManager.PlayingCutscene cutscene, float length, LerpType lerpType, float holdStart, float holdEnd)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionQueuedCutscene(ClientCutsceneManager.PlayingCutscene cutscene, float length, LerpType lerpType, float holdStart, float holdEnd) Creates an instance of aQueuedCutscenerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncutscene()Returns the value of thecutscenerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.floatholdEnd()Returns the value of theholdEndrecord component.floatReturns the value of theholdStartrecord component.floatlength()Returns the value of thelengthrecord component.lerpType()Returns the value of thelerpTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QueuedCutscene
public QueuedCutscene(ClientCutsceneManager.PlayingCutscene cutscene, float length, LerpType lerpType, float holdStart, float holdEnd) Creates an instance of aQueuedCutscenerecord class.- Parameters:
cutscene- the value for thecutscenerecord componentlength- the value for thelengthrecord componentlerpType- the value for thelerpTyperecord componentholdStart- the value for theholdStartrecord componentholdEnd- the value for theholdEndrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
cutscene
Returns the value of thecutscenerecord component.- Returns:
- the value of the
cutscenerecord component
-
length
public float length()Returns the value of thelengthrecord component.- Returns:
- the value of the
lengthrecord component
-
lerpType
Returns the value of thelerpTyperecord component.- Returns:
- the value of the
lerpTyperecord component
-
holdStart
public float holdStart()Returns the value of theholdStartrecord component.- Returns:
- the value of the
holdStartrecord component
-
holdEnd
public float holdEnd()Returns the value of theholdEndrecord component.- Returns:
- the value of the
holdEndrecord component
-