Skip to main content

Interface: OdinJoinedEventPayload

The payload for the Joined event.

Extends

Properties

event

event: keyof OdinEvents

The name of the event that was fired (see keys of OdinEvents for possible values).

Inherited from

OdinEventPayload.event

Defined in

odin.room.d.ts:89


ownPeerId

ownPeerId: number

The ID of the local peer.

Defined in

odin.room.d.ts:109


ownUserId

ownUserId: string

The ID of the local user. It is the same as the user id that was passed to join.

Defined in

odin.room.d.ts:114


roomId

roomId: string

The ID of the room that was joined. It's the same as the room id that was passed to join.

Defined in

odin.room.d.ts:104


roomUserData

roomUserData: Uint8Array

The current user data of the room

Defined in

odin.room.d.ts:119


tag

tag: number

An internal integer representing the type of the event. This is mainly used internally for testing purposes.

Inherited from

OdinEventPayload.tag

Defined in

odin.room.d.ts:94