HighlightCommand

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

A command bound to the highlighting feature.

Attributes

Companion
object
Source
HighlightCommand.scala
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

Source
HighlightCommand.scala
case case Clear extends HighlightCommand

Clear the global highlighting list.

Clear the global highlighting list.

Attributes

Source
HighlightCommand.scala
case case ClearAll extends HighlightCommand

Clear both global and room highlighting list.

Clear both global and room highlighting list.

Attributes

Source
HighlightCommand.scala
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

Source
HighlightCommand.scala
case case List extends HighlightCommand

Attributes

Source
HighlightCommand.scala
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

Source
HighlightCommand.scala
case case RoomClear extends HighlightCommand

Clear the highlighting list of the current room.

Clear the highlighting list of the current room.

Attributes

Source
HighlightCommand.scala
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

Source
HighlightCommand.scala
case case RoomList extends HighlightCommand

Attributes

Source
HighlightCommand.scala