-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchuchu_lobby_server.h
More file actions
21 lines (19 loc) · 929 Bytes
/
Copy pathchuchu_lobby_server.h
File metadata and controls
21 lines (19 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <pthread.h>
#include "chuchu_common.h"
#include "chuchu_sql.h"
uint16_t create_chuchu_resent_login_request_msg(char *msg, uint8_t flag, uint16_t pkt_size);
uint16_t create_chuchu_copyright_msg(player_t *pl, char * msg, uint8_t server_type);
uint16_t create_chuchu_chat_msg(player_t *pl, char* buf, char* msg);
uint16_t create_chuchu_add_info(server_data_t *s, char* msg, uint32_t menu_id, uint32_t item_id);
uint16_t create_chuchu_start_game_msg(game_room_t *gr);
uint16_t create_chuchu_notify_msg(char *msg, int msg_id);
uint16_t create_chuchu_info_msg(char* msg);
uint16_t create_chuchu_redirect_msg(uint32_t ip, uint16_t port, char * msg);
uint16_t create_chuchu_login_msg(char *msg, uint8_t flag);
uint16_t create_chuchu_auth_msg(char *msg, uint8_t flag, uint16_t pkt_size);