diff --git a/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/PulseFreeTimeBeatEvent.kt b/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/PulseFreeTimeBeatEvent.kt index b1bdd57..4a693a2 100644 --- a/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/PulseFreeTimeBeatEvent.kt +++ b/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/PulseFreeTimeBeatEvent.kt @@ -5,6 +5,7 @@ package cn.rdlevel.rdkt.core.events import cn.rdlevel.rdkt.core.annotations.RDKTInternalAPI import cn.rdlevel.rdkt.core.serialization.TransformSerializer +import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlin.jvm.JvmOverloads @@ -15,6 +16,7 @@ import kotlin.jvm.JvmOverloads * @property hold The hold time this pulse will last in beats. 0 means disable the hold. */ @Serializable(PulseFreeTimeBeatEvent.Serializer::class) +@SerialName("PulseFreeTimeBeat") public data class PulseFreeTimeBeatEvent @JvmOverloads constructor( var action: Action = Action.Increment, var hold: Int = 0, diff --git a/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/SetBeatSoundEvent.kt b/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/SetBeatSoundEvent.kt index 369adcc..424c4a0 100644 --- a/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/SetBeatSoundEvent.kt +++ b/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/SetBeatSoundEvent.kt @@ -10,6 +10,7 @@ import kotlinx.serialization.Serializable * @property sound The pulse sound [AudioData] to set for the specified row. */ @Serializable +@SerialName("SetBeatSound") public data class SetBeatSoundEvent( var sound: AudioData, ) : BeatSpecificSoundEvent(), RowSpecificEvent {