UserSettings

io.github.pidoveproject.showdown.user.UserSettings
See theUserSettings companion object
case class UserSettings(blockChallenges: Boolean, blockPMs: Boolean, ignoreTickets: Boolean, hideBattlesFromTrainerCard: Boolean, blockInvites: Boolean, doNotDisturb: Boolean, blockFriendRequests: Boolean, allowFriendNotifications: Boolean, displayBattlesToFriends: Boolean, hideLogins: Boolean, hiddenNextBattle: Boolean, inviteOnlyNextBattle: Boolean, language: Option[String])

Represents various settings of a user.

Value parameters

allowFriendNotifications

whether this user allows notifications from friends or not

blockChallenges

whether this user blocks challenges from others or not

blockFriendRequests

whether this user blocks friend requests from others or not

blockInvites

whether this user blocks invites from others or not

blockPMs

whether this user blocks private messages from others or not

displayBattlesToFriends

whether this user's friends can see their battle or not

doNotDisturb

whether this user receives notifications or not

hiddenNextBattle

???

hideBattlesFromTrainerCard

whether this user hides its trainer card from battles or not

hideLogins

???

ignoreTickets

whether this user ignore tickets or not

inviteOnlyNextBattle

???

language

the language of this user's UI

Attributes

Companion
object
Source
UserSettings.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product