From 9b78cae50d440167b524080777e51488663cbdce Mon Sep 17 00:00:00 2001 From: NoMathExpectation <85624722+NoMathExpectation@users.noreply.github.com> Date: Sat, 7 Mar 2026 16:27:58 +0800 Subject: [PATCH] Fixed AddClassicBeatEvent. --- .../kotlin/cn/rdlevel/rdkt/core/events/AddClassicBeatEvent.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/AddClassicBeatEvent.kt b/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/AddClassicBeatEvent.kt index 749b7e5..3fd9995 100644 --- a/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/AddClassicBeatEvent.kt +++ b/core/src/commonMain/kotlin/cn/rdlevel/rdkt/core/events/AddClassicBeatEvent.kt @@ -17,6 +17,7 @@ import kotlin.jvm.JvmStatic * @property sound The sound to play. Setting this to null will use the row's current sound. */ @Serializable +@SerialName("AddClassicBeat") public data class AddClassicBeatEvent( var tick: Double = 1.0, var swing: Double = 0.0, @@ -28,6 +29,7 @@ public data class AddClassicBeatEvent( /** * Represents the pattern of Xs to set on the row when [hold] is on. */ + @Serializable public enum class SetXMode { /** * Do not change the pattern on the row.