16 lines
228 B
C
16 lines
228 B
C
#ifndef CLIENT_H
|
|
#define CLIENT_H
|
|
|
|
#include <uv.h>
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
struct client {
|
|
uv_tcp_t handle;
|
|
uint32_t user_id;
|
|
uint32_t current_room_id;
|
|
bool is_authenticated;
|
|
char username[32];
|
|
};
|
|
|
|
#endif
|