Newer
Older
MonCalc / app / src / main / kotlin / jackall / moncalc / common / PreferenceKeys.kt
package jackall.moncalc.common

/**
 * SharedPreferencesのkeyを管理するクラス
 *
 * Created by matsumoto_k on 2017/11/01.
 */
enum class PreferenceKeys(val preferenceNames: PreferenceNames, val valueClass: Class<*>, val key: String) {
    VIEWX(PreferenceNames.CONFIG, Int::class.java, "viewX"),
    VIEWY(PreferenceNames.CONFIG, Int::class.java, "viewY"),
    QUESTDATAVERSION(PreferenceNames.CONFIG, Int::class.java, "questDataVersion"),
    TEMPLEPOS(PreferenceNames.CONFIG, Int::class.java, "templePos"),
    FRUITPOS(PreferenceNames.CONFIG, Int::class.java, "fruitPos"),
    GRADEPOS(PreferenceNames.CONFIG, Int::class.java, "gradePos"),
    INSTECOUNT(PreferenceNames.CONFIG, Int::class.java, "interstitialCount")
}