abstract SongEventData(SongEventDataRaw)
package funkin.data.song
from SongEventDataRaw to SongEventDataRaw
import funkin.data.song.SongData
Available on all platforms
Wrap SongEventData in an abstract so we can overload operators.
Static methods
staticclone(this:SongEventDataRaw):SongEventData
Create an independent copy of this event with the same underlying data.
Returns:
The newly created event.
staticop_equals(this:SongEventDataRaw, other:SongEventData):Bool
Check whether this event is equal to another event.
Ex. event1 == event2
Parameters:
other | The other event to compare. |
|---|
Returns:
Whether the events have the same time, kind, and data.
staticop_greaterThan(this:SongEventDataRaw, other:SongEventData):Bool
Check whether this event is later than another event.
Ex. event1 > event2
Parameters:
other | The other event to compare. |
|---|
Returns:
Bool
staticop_greaterThanOrEquals(this:SongEventDataRaw, other:SongEventData):Bool
Check whether this event is later than or at the same time as another event.
Ex. event1 >= event2
Parameters:
other | The other event to compare. |
|---|
Returns:
Whether this event is later than or at the same time as the other event.
staticop_lessThan(this:SongEventDataRaw, other:SongEventData):Bool
Check whether this event is earlier than another event.
Ex. event1 < event2
Parameters:
other | The other event to compare. |
|---|
Returns:
Whether this event is earlier than the other event.
staticop_lessThanOrEquals(this:SongEventDataRaw, other:SongEventData):Bool
Check whether this event is earlier than or at the same time as another event.
Ex. event1 <= event2
Parameters:
other | The other event to compare. |
|---|
Returns:
Whether this event is earlier than or at the same time as the other event.
staticop_notEquals(this:SongEventDataRaw, other:SongEventData):Bool
Check whether this event is not equal to another event.
Ex. event1 != event2
Parameters:
other | The other event to compare. |
|---|
Returns:
Whether the events have a different same time, kind, or data.
statictoString(this:SongEventDataRaw):String
Produces a string representation of this event, suitable for debugging.