Skip to main content

OdinEvent_JoinedData

Data structure for the OdinEvent_Joined event.

Declaration
typedef struct OdinEvent_JoinedData {
const char *room_id;
size_t room_id_len;
const uint8_t *room_user_data;
size_t room_user_data_len;
const char *customer;
size_t customer_len;
uint64_t own_peer_id;
const char *own_user_id;
size_t own_user_id_len;
} OdinEvent_JoinedData;

Fields

room_id

Name of the joined room (null-terminated).

Declaration
const char *room_id;

room_id_len

Length of the room name.

Declaration
size_t room_id_len;

room_user_data

Byte array with arbitrary user data of the room.

Declaration
const uint8_t *room_user_data;

room_user_data_len

Length of the room user data array.

Declaration
size_t room_user_data_len;

customer

Identifier of the customer the room is assigned to (null-terminated).

Declaration
const char *customer;

customer_len

Length of the customer identifier.

Declaration
size_t customer_len;

own_peer_id

Own peer ID assigned by the server.

Declaration
uint64_t own_peer_id;

own_user_id

Own user identifier of the peer specified during authentication (null-terminated).

Declaration
const char *own_user_id;

own_user_id_len

Length of the own user identifier.

Declaration
size_t own_user_id_len;