summaryrefslogtreecommitdiff
path: root/src/map/clif.h
blob: 3b283902b295f3a8f3356b09ca2371e45fee719f (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
// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// Copyright (c) 2014 Evol developers

#ifndef EVOL_MAP_CLIF
#define EVOL_MAP_CLIF

void eclif_quest_send_list(struct map_session_data *sd);
void eclif_quest_add(struct map_session_data *sd, struct quest *qd);
void eclif_charnameack(int *fdPtr, struct block_list *bl);
void eclif_getareachar_unit_post(struct map_session_data* sd, struct block_list *bl);
void eclif_sendlook(struct block_list *bl, int *id, int *type,
                    int *val, int *val2, enum send_target *target);
bool eclif_send(const void* buf, int *len, struct block_list* bl, enum send_target *type);
void eclif_set_unit_idle(struct block_list* bl, struct map_session_data *tsd,
                         enum send_target *target);
int eclif_send_actual(int *fd, void *buf, int *len);

void eclif_authok_post(struct map_session_data *sd);
void eclif_changemap_post(struct map_session_data *sd, short *m, int *x, int *y);
void eclif_set_unit_idle_post(struct block_list* bl, struct map_session_data *tsd,
                              enum send_target *target);

#endif  // EVOL_MAP_CLIF