Interface: OdinPeerJoinedEventPayload
The payload for the PeerJoined event.
Extends
Properties
event
event: keyof
OdinEvents
The name of the event that was fired (see keys of OdinEvents for possible values).
Inherited from
Defined in
odin.room.d.ts:96
peerId
peerId:
number
The ID of the peer that joined.
Defined in
odin.room.d.ts:235
tag
tag:
number
An internal integer representing the type of the event. This is mainly used internally for testing purposes.
Inherited from
Defined in
odin.room.d.ts:101
userData
userData:
undefined|Uint8Array
The user data of the peer that joined.
Defined in
odin.room.d.ts:245
userId
userId:
string
The ID of the user that joined.
Defined in
odin.room.d.ts:240