Our new developer documentation is now available. Please check it out!
OdinPeerJoinedEventPayload
On this page
export interface OdinPeerJoinedEventPayload
The payload for the PeerJoined event.
Properties
Name | Type | Description |
---|---|---|
event | any | The name of the event that was fired (see keys of OdinEvents for possible values). |
peerId | number | The ID of the peer that joined. |
tag | number | An internal integer representing the type of the event. This is mainly used internally for testing purposes. |
userData | undefined | Uint8Array | The user data of the peer that joined. |
userId | string | The ID of the user that joined. |