Package dev.adlin.vts4j.core.event.impl
Record Class Live2DCubismEditorConnectedEvent
java.lang.Object
java.lang.Record
dev.adlin.vts4j.core.event.impl.Live2DCubismEditorConnectedEvent
- All Implemented Interfaces:
Event
-
Constructor Summary
ConstructorsConstructorDescriptionLive2DCubismEditorConnectedEvent(Boolean tryingToConnect, Boolean connected, Boolean shouldSendParameters) Creates an instance of aLive2DCubismEditorConnectedEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theshouldSendParametersrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetryingToConnectrecord component.
-
Constructor Details
-
Live2DCubismEditorConnectedEvent
public Live2DCubismEditorConnectedEvent(Boolean tryingToConnect, Boolean connected, Boolean shouldSendParameters) Creates an instance of aLive2DCubismEditorConnectedEventrecord class.- Parameters:
tryingToConnect- the value for thetryingToConnectrecord componentconnected- the value for theconnectedrecord componentshouldSendParameters- the value for theshouldSendParametersrecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
tryingToConnect
Returns the value of thetryingToConnectrecord component.- Returns:
- the value of the
tryingToConnectrecord component
-
connected
Returns the value of theconnectedrecord component.- Returns:
- the value of the
connectedrecord component
-
shouldSendParameters
Returns the value of theshouldSendParametersrecord component.- Returns:
- the value of the
shouldSendParametersrecord component
-