Developer Documentation
Our new developer documentation is now available. Please check it out!

OdinPeerJoinedEventPayload

export interface OdinPeerJoinedEventPayload

The payload for the PeerJoined event.

Properties

NameTypeDescription
eventanyThe name of the event that was fired (see keys of OdinEvents for possible values).
peerIdnumberThe ID of the peer that joined.
tagnumberAn internal integer representing the type of the event. This is mainly used internally for testing purposes.
userDataundefined | Uint8ArrayThe user data of the peer that joined.
userIdstringThe ID of the user that joined.