RoomMessage
A message bound to a room
Attributes
- Graph
-
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Enum entries
A battle started.
A battle started.
Value parameters
- firstUser
-
the first battle participant
- room
-
the id of the battle room
- secondUser
-
the second battle participant
Attributes
A user sent a message in the room.
A user sent a message in the room.
Value parameters
- message
-
the content of he message
- user
-
the user who sent the message
Attributes
De-initialization message. Sent when the current user leaves the lobby.
De-initialization message. Sent when the current user leaves the lobby.
Attributes
An HTML message sent by the server
An HTML message sent by the server
Value parameters
- content
-
the content of the message
Attributes
Initialization message. Sent first when entering a room.
Initialization message. Sent first when entering a room.
Value parameters
- roomType
-
the type of the room. Either battle or chat.
Attributes
A user joined the room.
A user joined the room.
Value parameters
- user
-
the user who joined the room
Attributes
A user left the room.
A user left the room.
Value parameters
- user
-
the who lef the room
Attributes
A chat message sent by the server
A chat message sent by the server
Value parameters
- content
-
the raw content of the message
Attributes
A user changed their name
A user changed their name
Value parameters
- newName
-
the new name of the user
- oldName
-
the old name of the user
Attributes
A notification was sent in the room.
A notification was sent in the room.
Value parameters
- content
-
the content of the notification
- title
-
the title of the notification
- token
-
the (optional) highlight token of this notification
Attributes
An update on the current time of the room.
An update on the current time of the room.
Value parameters
- time
-
the current timestamp of the room (UNIX format)
Attributes
A chat message with a timestamp attached.
A chat message with a timestamp attached.
Value parameters
- message
-
the content of he message
- time
-
the timestamp of the message
- user
-
the user who sent the message
Attributes
An update on the title of the room.
An update on the title of the room.
Value parameters
- title
-
the current title of the room
Attributes
A named HTML message sent by the server
A named HTML message sent by the server
Value parameters
- name
-
the name of this message, used to update it later