Developer Documentation


export interface OdinPeerUserDataChangedEventPayload

The payload for the PeerUserDataChanged event.


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