Package dev.adlin.vts4j.core.event.impl
Record Class HotkeyTriggeredEvent
java.lang.Object
java.lang.Record
dev.adlin.vts4j.core.event.impl.HotkeyTriggeredEvent
- All Implemented Interfaces:
Event
-
Constructor Summary
Constructors -
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.Returns the value of thehotkeyActionrecord component.Returns the value of thehotkeyFilerecord component.hotkeyId()Returns the value of thehotkeyIdrecord component.Returns the value of thehotkeyNamerecord component.Returns the value of thehotkeyTriggeredByAPIrecord component.Returns the value of theisLive2DItemrecord component.modelId()Returns the value of themodelIdrecord component.Returns the value of themodelNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HotkeyTriggeredEvent
public HotkeyTriggeredEvent(String hotkeyId, String hotkeyName, String hotkeyAction, String hotkeyFile, Boolean hotkeyTriggeredByAPI, String modelId, String modelName, Boolean isLive2DItem) Creates an instance of aHotkeyTriggeredEventrecord class.- Parameters:
hotkeyId- the value for thehotkeyIdrecord componenthotkeyName- the value for thehotkeyNamerecord componenthotkeyAction- the value for thehotkeyActionrecord componenthotkeyFile- the value for thehotkeyFilerecord componenthotkeyTriggeredByAPI- the value for thehotkeyTriggeredByAPIrecord componentmodelId- the value for themodelIdrecord componentmodelName- the value for themodelNamerecord componentisLive2DItem- the value for theisLive2DItemrecord 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). -
hotkeyId
Returns the value of thehotkeyIdrecord component.- Returns:
- the value of the
hotkeyIdrecord component
-
hotkeyName
Returns the value of thehotkeyNamerecord component.- Returns:
- the value of the
hotkeyNamerecord component
-
hotkeyAction
Returns the value of thehotkeyActionrecord component.- Returns:
- the value of the
hotkeyActionrecord component
-
hotkeyFile
Returns the value of thehotkeyFilerecord component.- Returns:
- the value of the
hotkeyFilerecord component
-
hotkeyTriggeredByAPI
Returns the value of thehotkeyTriggeredByAPIrecord component.- Returns:
- the value of the
hotkeyTriggeredByAPIrecord component
-
modelId
Returns the value of themodelIdrecord component.- Returns:
- the value of the
modelIdrecord component
-
modelName
Returns the value of themodelNamerecord component.- Returns:
- the value of the
modelNamerecord component
-
isLive2DItem
Returns the value of theisLive2DItemrecord component.- Returns:
- the value of the
isLive2DItemrecord component
-