blob: 6f672a7433605793e7c69e934c1f3140bd2a5fa3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package at.hannibal2.skyhanni.config
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean
/**
* Annotate a [ConfigEditorBoolean] to indicate that it is a feature toggle.
*/
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.FIELD)
annotation class FeatureToggle(
/**
* Indicate that this field being true means the corresponding feature is enabled.
*/
val trueIsEnabled: Boolean = true,
)
|