Our new developer documentation is now available. Please check it out!
OdinPeerUserDataChangedEventPayload
On this page
export interface OdinPeerUserDataChangedEventPayload
The payload for the PeerUserDataChanged 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 changed the user data. |
tag | number | An internal integer representing the type of the event. This is mainly used internally for testing purposes. |
userData | undefined | Uint8Array | The new user data of the peer. |