package moe.nea.firmament.features.macros import kotlinx.serialization.Serializable import moe.nea.firmament.util.data.Config import moe.nea.firmament.util.data.DataHolder @Serializable data class MacroData( var comboActions: List = listOf(), var wheels: List = listOf(), ) { @Config object DConfig : DataHolder(kotlinx.serialization.serializer(), "macros", ::MacroData) { override fun onLoad() { ComboProcessor.setActions(data.comboActions) RadialMacros.setWheels(data.wheels) } } }