ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
client_info_packet_t Struct Reference

Client information packet structure. More...

#include <include/ascii-chat/network/packet/packet.h>

Data Fields

uint32_t client_id
 Unique client identifier (1-9, 0 = server)
 
char display_name [32]
 User display name (null-terminated, max MAX_DISPLAY_NAME_LEN bytes)
 
uint32_t capabilities
 Client capabilities bitmask (CLIENT_CAP_VIDEO | CLIENT_CAP_AUDIO | CLIENT_CAP_COLOR | CLIENT_CAP_STRETCH)
 

Detailed Description

Client information packet structure.

Contains client identification and capability information. Used in multi-user protocol for client join/leave notifications.

Definition at line 653 of file packet.h.

Field Documentation

◆ capabilities

uint32_t client_info_packet_t::capabilities

Client capabilities bitmask (CLIENT_CAP_VIDEO | CLIENT_CAP_AUDIO | CLIENT_CAP_COLOR | CLIENT_CAP_STRETCH)

Definition at line 660 of file packet.h.

Referenced by acip_send_client_join(), handle_client_join_packet(), and threaded_send_client_join_packet().

◆ client_id

uint32_t client_info_packet_t::client_id

Unique client identifier (1-9, 0 = server)

Definition at line 655 of file packet.h.

Referenced by threaded_send_client_join_packet().

◆ display_name

char client_info_packet_t::display_name[32]

User display name (null-terminated, max MAX_DISPLAY_NAME_LEN bytes)

Definition at line 657 of file packet.h.

Referenced by acip_send_client_join(), handle_client_join_packet(), and threaded_send_client_join_packet().


The documentation for this struct was generated from the following file: