io.github.pidoveproject.showdown.room

Members list

Type members

Classlikes

object ChatContent extends RefinedTypeOps[String, Not[Blank], ChatContent]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[String, Not[Blank], ChatContent]
class Object
trait Matchable
class Any
Self type

A chat message.

A chat message.

Attributes

Source
ChatMessage.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object HTML extends RefinedTypeOps[String, Pure, HTML]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[String, Pure, HTML]
class Object
trait Matchable
class Any
Self type
HTML.type
object HighlightToken extends RefinedTypeOps[String, Not[Blank], HighlightToken]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[String, Not[Blank], HighlightToken]
class Object
trait Matchable
class Any
Self type
case class JoinedRoom(id: RoomId, title: Option[String], roomType: Option[RoomType], currentTime: Timestamp, users: Set[User], chat: RoomChat, battle: Option[Battle])

A showdown room.

A showdown room.

Value parameters

id

this room's id

messages

the 100 last messages of this room

roomType

this room's type, whether chat or battle

users

the users connected to this room

Attributes

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

Attributes

Companion
class
Source
JoinedRoom.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
JoinedRoom.type
object PopupMessage extends RefinedTypeOps[String, Not[Blank], PopupMessage]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[String, Not[Blank], PopupMessage]
class Object
trait Matchable
class Any
Self type
case class RoomChat(messages: IronType[List[ChatMessage], MaxLength[100]])

Attributes

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

Attributes

Companion
class
Source
RoomChat.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
RoomChat.type
object RoomId extends RefinedTypeOps[String, Not[Blank], RoomId]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[String, Not[Blank], RoomId]
class Object
trait Matchable
class Any
Self type
RoomId.type
enum RoomType

The type of a room. Either a chat room or a battle/simulator one.

The type of a room. Either a chat room or a battle/simulator one.

Attributes

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

Attributes

Companion
enum
Source
RoomType.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
RoomType.type

Types

opaque type ChatContent

Attributes

Source
package.scala
opaque type HTML

Attributes

Source
package.scala
opaque type HighlightToken

Attributes

Source
package.scala
opaque type PopupMessage

Attributes

Source
package.scala
opaque type RoomId

Attributes

Source
package.scala

Givens

Givens