Record Class Player.CurrentTrackLoadEvent
java.lang.Object
java.lang.Record
dev.blackilykat.pmp.client.Player.CurrentTrackLoadEvent
- Enclosing class:
Player
Data for
Player.EVENT_CURRENT_TRACK_LOAD-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCurrentTrackLoadEvent(Integer loaded, Integer total) Creates an instance of aCurrentTrackLoadEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.loaded()Returns the value of theloadedrecord component.final StringtoString()Returns a string representation of this record class.total()Returns the value of thetotalrecord component.
-
Field Details
-
loaded
-
total
-
-
Constructor Details
-
CurrentTrackLoadEvent
Creates an instance of aCurrentTrackLoadEventrecord class.- Parameters:
loaded- the value for theloadedrecord componenttotal- the value for thetotalrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
loaded
-
total
-