OdinJoinedEventPayload
On this page
export interface OdinJoinedEventPayload
The payload for the Joined event.
Properties
Name | Type | Description |
---|---|---|
event | any | The name of the event that was fired (see keys of OdinEvents for possible values). |
ownPeerId | number | The ID of the local peer. |
ownUserId | string | The ID of the local user. It is the same as the user id that was passed to join. |
roomId | string | The ID of the room that was joined. It’s the same as the room id that was passed to join. |
roomUserData | undefined | Uint8Array | The current user data of the room |
tag | number | An internal integer representing the type of the event. This is mainly used internally for testing purposes. |