Use to listen to room networking events like joining a networked room
For example: this.context.connection.beginListen(RoomEvents.JoinedRoom, () => { })

Enumeration Members

Join

Internal: Sent to the server when attempting to join a room

JoinedRoom

Incoming: When the local user has joined a room

Leave

Internal: Sent to the server when attempting to leave a room

LeftRoom

Incoming: When the local user has left a room

RoomStateSent

When a user joins a room, the server sends the entire room state. Afterwards, the server sends the room-state-sent event.

UserJoinedRoom

Incoming: When a other user has joined the room

UserLeftRoom

Incoming: When a other user has left the room