Preferences

object Preferences

Functions

getBool
Link copied to clipboard
fun getBool(name: String): Boolean
getFloat
Link copied to clipboard
fun getFloat(name: String): Float
getInt
Link copied to clipboard
fun getInt(name: String): Int
getLong
Link copied to clipboard
fun getLong(name: String): Long
getString
Link copied to clipboard
fun getString(name: String): String
setAutoLoginEnabled
Link copied to clipboard
fun setAutoLoginEnabled(enabled: Boolean)
setBool
Link copied to clipboard
fun setBool(name: String, value: Boolean)
setDismissLevelUps
Link copied to clipboard
fun setDismissLevelUps(enabled: Boolean)
setDismissTradeWidget
Link copied to clipboard
fun setDismissTradeWidget(enabled: Boolean)
setFloat
Link copied to clipboard
fun setFloat(name: String, value: Float)
setForceSingleTap
Link copied to clipboard
fun setForceSingleTap(force: Boolean)
setInt
Link copied to clipboard
fun setInt(name: String, value: Int)
setLong
Link copied to clipboard
fun setLong(name: String, value: Long)
setRandomEventsEnabled
Link copied to clipboard
fun setRandomEventsEnabled(enabled: Boolean)
setString
Link copied to clipboard
fun setString(name: String, value: String)