typedef struct _v3_user {
uint16_t id;
uint16_t channel;
uint16_t bitfield; // see below
uint16_t rank_id;
char *name;
char *phonetic;
char *comment;
char *url;
char *integration_text;
uint8_t is_transmitting;
uint8_t accept_pages;
uint8_t accept_u2u;
uint8_t accept_chat;
uint8_t allow_recording;
uint8_t guest;
void *next; // used internally, will always be NULL for v3_get_user()
uint16_t real_user_id; // used for phantom users
} v3_user;
bitfield
| ID | Description
|
| 0x0 | object is another client
|
| 0x1 | object is the local client
|
| 0x2 | object is lobby
|
| 0x100 | comment is sent silently
|
| 0x400 | user is a guest
|
| 0x800 | unknown but known to exist
|