summaryrefslogtreecommitdiff
path: root/src/echar/char.h
blob: 534b075ed644c44e51a8ad596f232d6e4d68725d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// Copyright (c) 2014 - 2015 Evol developers

#ifndef EVOL_CHAR_CHAR
#define EVOL_CHAR_CHAR

void echar_parse_char_create_new_char(int *fdPtr,
                                      struct char_session_data **sdPtr);

void echar_creation_failed(int *fdPtr, int *result);

void echar_parse_change_paassword(int fd);

void echar_parse_login_password_change_ack(int charFd);

void echar_send_HC_ACK_CHARINFO_PER_PAGE_post(int fd, struct char_session_data *sd);

void echar_send_HC_ACK_CHARINFO_PER_PAGE_tail_pre(int *fdPtr, struct char_session_data **sdPtr);

int echar_mmo_char_send_characters_post(int retVal, int fd, struct char_session_data *sd);

void send_additional_slots(int fd, struct char_session_data* sd);

void echar_parse_char_connect_pre(int *fdPtr, struct char_session_data **sd, uint32 *ipl);

void echar_parse_char_connect_post(int fd, struct char_session_data *sd, uint32 ipl);

void echar_parse_map_serverexit(int mapFd);

void echat_send_login_serverexit(const int code);

int echar_mmo_gender(const struct char_session_data **, const struct mmo_charstatus **, char *sex);

int echar_changecharsex(int *char_idPtr, int *sexPtr);

#endif  // EVOL_CHAR_CHAR