HighlightCommand

io.github.pidoveproject.showdown.protocol.client.HighlightCommand
See theHighlightCommand companion object

A command bound to the highlighting feature.

Attributes

Companion
object
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Add(words: List[String])

Add words to the highlighting list.

Add words to the highlighting list.

Value parameters

words

the list of words to highlight

Attributes

case case Clear extends HighlightCommand

Clear the global highlighting list.

Clear the global highlighting list.

Attributes

case case ClearAll extends HighlightCommand

Clear both global and room highlighting list.

Clear both global and room highlighting list.

Attributes

final case class Delete(words: List[String])

Remove words from the highlighting list.

Remove words from the highlighting list.

Value parameters

words

the list of words to not highlight

Attributes

case case List extends HighlightCommand
final case class RoomAdd(words: List[String])

Add words to a room-specific highlighting list.

Add words to a room-specific highlighting list.

Value parameters

words

the list of words to highlight

Attributes

case case RoomClear extends HighlightCommand

Clear the highlighting list of the current room.

Clear the highlighting list of the current room.

Attributes

final case class RoomDelete(words: List[String])

Remove words from a room-specific highlighting list.

Remove words from a room-specific highlighting list.

Value parameters

words

the list of words to not highlight

Attributes

case case RoomList extends HighlightCommand